swat.cas.utils.datetime.sas2python_date

swat.cas.utils.datetime.sas2python_date(sdt)

Convert a SAS date to a Python date

Parameters
stsfloat

SAS date.

Returns
datetime.date

Examples

>>> sas2python_date(3653.0)
datetime.date(1970, 1, 1)