Skip to content

Commit b467fc5

Browse files
committed
line 57
1 parent c590e50 commit b467fc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/05-data-types/11-date/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ To create a new `Date` object call `new Date()` with one of the following argume
5454
// Wed Jan 25 2017 16:00:00 GMT-0800 (Pacific Standard Time)
5555
```
5656

57-
`new Date(year, month, date, hours, minutes, seconds, ms)`
57+
`new Date(year, month, day, hours, minutes, seconds, ms)`
5858
: Create the date with the given components in the local time zone. Only the first two arguments are obligatory.
5959

6060
- 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.

0 commit comments

Comments
 (0)