beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

DateIsoToTimestamp Op

Ops.Date.DateIsoToTimestamp


DateIsoToTimestamp
Namespace: Ops.Date

Op author: stephan

parses a date and time in iso format and outputs a millisecond timestamp


summary (oneliner)

this is basically a wrapper for javascripts Date.parse().
input something like "2010-05-21 13:37:00" and get 1274441820000.



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

datetime (String)

iso formated date


Outputs

timestamp (Number)

time in milliseconds since January 1, 1970, 00:00:00 UTC


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

DateIsoToTimestamp Example

Example-Patch on how to convert an ISO formatted date into a millisecond timestamp.

Open Example In Editor


Patches using DateIsoToTimestamp