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


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



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 Documentation 

DateIsoToTimestamp Example

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

Open Example In Editor

Patches using DateIsoToTimestamp