swat.cas.utils.datetime.python2cas_time

swat.cas.utils.datetime.python2cas_time(pytm)

Convert a Python time to a CAS time

Parameters
pytsdatetime.time

Python time.

Returns
int

CAS time

Examples

>>> cas2python_time(datetime.time(12, 0))
43200000000