You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-js/05-data-types/11-date/article.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ To create a new `Date` object call `new Date()` with one of the following argume
58
58
: Create the date with the given components in the local time zone. Only the first two arguments are obligatory.
59
59
60
60
- The `year` should have 4 digits. For compatibility, 2 digits are also accepted and considered `19xx`, e.g. `98` is the same as `1998` here, but always using 4 digits is strongly encouraged.
61
-
- The `month` count starts with `0` (Jan), up to `11` (Dec).
61
+
- The `month` count starts from `0` (Jan), up to `11` (Dec).
62
62
- The `date` parameter is actually the day of month, if absent then `1` is assumed.
63
63
- If `hours/minutes/seconds/ms` is absent, they are assumed to be equal `0`.
0 commit comments