GetTime
Common Scripts Pack.#
This Script is part of theRetrieves the current date and time.
#
Script DataName | Description |
---|---|
Script Type | javascript |
Tags | Utility |
#
InputsArgument Name | Description |
---|---|
date | The date to use in the object. |
dateFormat | The date format for the result. Can be "ISO", "GMT", "UTC", "Locale", "Date", "Year", "Month", "Day", "DayInWeek", "Hours". |
contextKey | The prefix the keys in the context for the results. |
monthsAgo | Subtracts monthsAgo months from current time. |
minutesAgo | Subtracts minutesAgo minutes from current time. |
hoursAgo | Subtracts hoursAgo hours from current time. |
#
OutputsPath | Description | Type |
---|---|---|
TimeNowUnix | The number of milliseconds since 1970/01/01. | Unknown |
TimeNow | The current time in ISO format. | Unknown |