DateTimeOffset¶
Represents a date and time value with a time zone offset.
1 | |
Capabilities¶
Creation¶
- DateTimeOffset.constructor: Creates a new DateTimeOffset object from a JavaScript Date object.
- DateTimeOffset.now: Returns a DateTimeOffset object that represents the current date and time, with the current time zone offset.
Parsing¶
- DateTimeOffset.parse: Parses the specified string and returns a DateTimeOffset object.
- DateTimeOffset.parseWithCulture: Parses the specified string using culture-specific formatting information and returns a DateTimeOffset object.