UNIX

Convert a date and time to the UNIX standard format.

See Epoch to use the number of seconds elapsed instead of milliseconds.

Input

Field Definition Type Required
start Date and time to be converted to UNIX format. Date & Time TRUE

Output

Field Definition Type
output Date and time in UNIX format. Milliseconds are counted since January 1, 1970, midnight UTC/GMT, not counting leap seconds. Date & Time

Example

start output
2016-09-07T00:01:25.670Z 1473206485670

If you need the UNIX format for the current date and time, use a Now card and drag and drop the date field from the Now card into the start field on the UNIX card.

Related topics

Functions in Workflows

About the elements of Okta Workflows