dateTimeUtc(
opt?
):DateTime
Defined in: src/dateTime/dateTime.ts:930
Creates a DateTime instance with fixed offset.
Parameters
Parameter | Type | Description |
---|---|---|
opt? |
{ format? : FormatInput ; input? : DateTimeInput ; lang? : string ; offset? : number ; } |
|
opt.format? |
FormatInput |
strict format for parsing user's input. |
opt.input? |
DateTimeInput |
input to parse. |
opt.lang? |
string |
specified locale. |
opt.offset? |
number |
specified offset. |
Returns
Previous