Ascent.time
Last updated
Was this helpful?
Adjusts an epoch timestamp from one timezone to another
ascent.time.adjustTZ(epoch: number, to: string, from: string = 'UTC'): number;epoch
number
timestamp
to
String
destination time zone
from
string
source time zone
Formats an epoch timestamp according to a specified format and timezone
ascent.time.strftime(epoch: number, format: string, tzTo: string = 'UTC'): string;epoch
number
timestamp
format
String
The desired date-time format
tzTo
string
Target timezone
Last updated
Was this helpful?
Was this helpful?