Skip to content

Commit 1c57e85

Browse files
committed
line 416
1 parent 502f4f5 commit 1c57e85

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
@@ -413,7 +413,7 @@ alert(date);
413413
## Summary
414414

415415
- Date and time are represented with the [Date](mdn:js/Date) object. We can't create "only date" or "only time": `Date` objects always carry both.
416-
- Months are counted from zero (yes, January is a zero month).
416+
- Months are counted from zero (yes, January is month zero).
417417
- Days of week in `getDay()` are also counted from zero (that's Sunday).
418418
- `Date` auto-corrects itself when out-of-range components are set. Good for adding/subtracting days/months/hours.
419419
- Dates can be subtracted, giving their difference in milliseconds. That's because a `Date` becomes the timestamp when converted to a number.

0 commit comments

Comments
 (0)