We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 502f4f5 commit 1c57e85Copy full SHA for 1c57e85
1-js/05-data-types/11-date/article.md
@@ -413,7 +413,7 @@ alert(date);
413
## Summary
414
415
- 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).
+- Months are counted from zero (yes, January is month zero).
417
- Days of week in `getDay()` are also counted from zero (that's Sunday).
418
- `Date` auto-corrects itself when out-of-range components are set. Good for adding/subtracting days/months/hours.
419
- 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