Module epiclass.utils.time

Time utilities

Functions

def seconds_to_str(seconds: int) ‑> str

Convert seconds to a string in the format HH:MM:SS

def time_now() ‑> datetime.datetime

Return datetime of call without microseconds

def time_now_str() ‑> str

Return datetime of call as a string in the format YYYY-MM-DD_HH-MM-SS