csep.utils.time_utils.strptime_to_utc_datetime
- csep.utils.time_utils.strptime_to_utc_datetime(time_string, format='%Y-%m-%d %H:%M:%S.%f')[source]
Converts time_string with format into time-zone aware datetime object in the UTC timezone.
Note
If the time_string is not in UTC time, it will be converted into UTC timezone.
- Parameters:
- Returns:
timezone aware (utc) object from time_string
- Return type: