swat.cas.utils.datetime.str2cas_time

swat.cas.utils.datetime.str2cas_time(dts)

Convert a string to a CAS time

Parameters
dtsstring

The string representation of a time.

Returns
int

CAS time

Examples

>>> str2cas_time('19700101T12:00')
43200000000