xtime Installation pip3 install xtime Usage import xtime time_string = xtime.timestamp_to_string(seconds, f='%Y-%m-%d %H:%M:%S')