Skip to content

getTime

Returns the numeric value corresponding to the time for the specified date, according to universal time (UTC).

1
myDateTimeOffset.getTime():number

Returns

A number representing the milliseconds elapsed since January 1, 1970 00:00:00 UTC.

See Also

  • https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Date/getTime