import time def time_to_str(t: float) -> str: return time.strftime("%d-%m-%Y %H:%M:%S", time.gmtime(t))