Skip to content

Commit

Permalink
Make references to epoch consistent (mdn#33943)
Browse files Browse the repository at this point in the history
Update index.md

Made the wording and formatting more consistent regarding references to the epoch.
  • Loading branch information
jasonferrier authored Jun 5, 2024
1 parent 9c8c461 commit 6c96534
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,11 @@ See the [Formats of `toString` method return values](#formats_of_tostring_method
## Static methods

- {{jsxref("Date.now()")}}
- : Returns the numeric value corresponding to the current time—the number of milliseconds elapsed since January 1, 1970 00:00:00 UTC, with leap seconds ignored.
- : Returns the numeric value corresponding to the current time—the number of milliseconds since January 1, 1970 00:00:00 UTC, with leap seconds ignored.
- {{jsxref("Date.parse()")}}
- : Parses a string representation of a date and returns the number of milliseconds since 1 January, 1970, 00:00:00 UTC, with leap seconds ignored.
- : Parses a string representation of a date and returns the number of milliseconds since January 1, 1970 00:00:00 UTC, with leap seconds ignored.
- {{jsxref("Date.UTC()")}}
- : Accepts the same parameters as the longest form of the constructor (i.e. 2 to 7) and returns the number of milliseconds since January 1, 1970, 00:00:00 UTC, with leap seconds ignored.
- : Accepts the same parameters as the longest form of the constructor (i.e. 2 to 7) and returns the number of milliseconds since January 1, 1970 00:00:00 UTC, with leap seconds ignored.

## Instance properties

Expand Down Expand Up @@ -212,7 +212,7 @@ These properties are defined on `Date.prototype` and shared by all `Date` instan
- {{jsxref("Date.prototype.getSeconds()")}}
- : Returns the seconds (`0``59`) in the specified date according to local time.
- {{jsxref("Date.prototype.getTime()")}}
- : Returns the numeric value of the specified date as the number of milliseconds since January 1, 1970, 00:00:00 UTC. (Negative values are returned for prior times.)
- : Returns the numeric value of the specified date as the number of milliseconds since January 1, 1970 00:00:00 UTC. (Negative values are returned for prior times.)
- {{jsxref("Date.prototype.getTimezoneOffset()")}}
- : Returns the time-zone offset in minutes for the current locale.
- {{jsxref("Date.prototype.getUTCDate()")}}
Expand Down Expand Up @@ -248,7 +248,7 @@ These properties are defined on `Date.prototype` and shared by all `Date` instan
- {{jsxref("Date.prototype.setSeconds()")}}
- : Sets the seconds for a specified date according to local time.
- {{jsxref("Date.prototype.setTime()")}}
- : Sets the {{jsxref("Date")}} object to the time represented by a number of milliseconds since January 1, 1970, 00:00:00 UTC. Use negative numbers for times prior.
- : Sets the {{jsxref("Date")}} object to the time represented by the number of milliseconds since January 1, 1970 00:00:00 UTC. Use negative numbers for times prior.
- {{jsxref("Date.prototype.setUTCDate()")}}
- : Sets the day of the month for a specified date according to universal time.
- {{jsxref("Date.prototype.setUTCFullYear()")}}
Expand Down

0 comments on commit 6c96534

Please sign in to comment.