skytracker.utils.conversions.time_string_to_seconds#

skytracker.utils.conversions.time_string_to_seconds(time_string: str) int#

Convert a time string to number of seconds

Parameters:

time_string (str) – time string (i.e. “1d5h”, “2h30m”, or “5m20s”)

Returns:

number of seconds the time string specified

Return type:

int