skytracker.utils.conversions.datetime_ago_from_time_string#
- skytracker.utils.conversions.datetime_ago_from_time_string(time_string: str) datetime#
Get the date and time which is a specified amount of time ago
- Parameters:
time_string (str) – time string (i.e. “1d5h”, “2h30m”, or “5m20s”)
- Returns:
datetime which is specified amount of time ago (UTC)
- Return type:
datetime