josstorer/Get Current Time

Get the current time with `format`, `utcOffset` and `timezone`

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
formatTime format to use - using [MomentJS format syntax](https://momentjs.com/docs/#/displaying/format/)no
utcOffsetUTC offset to use - using [MomentJS utcOffset syntax](https://momentjs.com/docs/#/manipulating/utc-offset/)no
timezoneTimezone to use - using [moment-timezone list](https://gist.github.com/diogocapela/12c6617fc87607d11fd62d2a4f42b02a) (overrides utcOffset)no
namedescription
timeThe ISO time this action was run, **not** affected by the parameter `utcOffset` e.g. '2020-01-01T00:30:15.000Z'
ISOTimeSame as `time`
readableTimeHuman-friendly time - affected by the parameter `utcOffset` e.g. 'Wed Jan 01 2020 08:30:15 GMT+0800'
formattedTimeThe time this action was run - formatted using `format` and `utcOffset` inputs
year,month,day,hour,minute,second,millisecondDigital outputs, just as names