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

Source Code

View the source code for this function.

See Also