csep.utils.time_utils.datetime_to_utc_epoch

csep.utils.time_utils.datetime_to_utc_epoch(dt)[source]

Converts python datetime.datetime into epoch_time in milliseconds.

Parameters:

dt (datetime.datetime) – python datetime object, should be naive.