swat.cas.utils.datetime.sas2cas_datetime

swat.cas.utils.datetime.sas2cas_datetime(sts)

Convert a SAS datetime to CAS datetime

Parameters
stsfloat

SAS timestamp.

Returns
int

CAS timestamp

Examples

>>> sas2cas_timestamp(315662400.0)
315662400000000