Skip to content

basalt / scheduler/src / zonedParts

Function: zonedParts() ​

> zonedParts(date, timeZone?): ZonedParts

Defined in: scheduler/src/cron.ts:109

Decomposes an instant into the cron fields, in the requested time zone (default UTC).

Parameters ​

date ​

Date

timeZone? ​

string = 'UTC'

Returns ​

ZonedParts

Released under the MIT License.