I am creating time series models using astronomical data from celestial bodies with a period of rotation that is not 24 hours. For example, I have data from a planet with a 9-hour day; in such planet the timestamp should reset to 00:00:00 (HH:MM:SS) every time the clock reaches 08:59:59
Is there a way to create custom timestamps in Python to deal with such a situation?