Epoch

Converts a date & time to the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT) not counting leap seconds, which is the standard date format for some systems. See UNIX to use the number of milliseconds elapsed instead of seconds.)

Input Fields

  • start: (required) the date & time you want to convert.

Output Fields

  • output: the date & time in epoch format: seconds since January 1, 1970, midnight UTC/GMT, not counting leap seconds.

Example

If start is 2016-09-07T00:01:25.670Z then output is 1473206485 If you need the Epoch format for the current date and time, use a Now card and drag/drop the date field from the Now card into the start field on the Epoch card.

See Also

Functions

About the elements of Okta Workflows