ISOtime2unix

t = ISOtime2unix(ts::AbstractString) -> Float64

Take a string representing a time and return the equivalent Unix time. The ts string may take one of these forms:

Examples

using Dates
t = ISOtime2unix("2019-01-01T12")
1.546344e9

t = ISOtime2unix("25-Apr-1974")
1.3608e8

Methods

# 1 method for generic function "ISOtime2unix" from GMT:
 [1] ISOtime2unix(ts::AbstractString)

See Also