swat.cas.utils.datetime.sas2cas_timestamp

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

Convert a SAS datetime to CAS datetime

Parameters
stsfloat

SAS timestamp.

Returns
int

CAS timestamp

Examples

>>> sas2cas_timestamp(315662400.0)
315662400000000