csep.utils.time_utils.epoch_time_to_utc_datetime

csep.utils.time_utils.epoch_time_to_utc_datetime(epoch_time_milli)[source]

Accepts an epoch_time in milliseconds the UTC timezone and returns a python datetime object.

See https://docs.python.org/3/library/datetime.html#datetime.datetime.fromtimestamp for information about how timezones are handled with this function.

Parameters:

epoch_time (float) – epoch_time in UTC timezone in milliseconds