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