sec2str

emlib.misc.sec2str(seconds, msdigits=3)[source]

Convert seconds to a suitable string representation

Parameters:

seconds (float) – time in seconds

Return type:

str

Returns:

the equivalent time as string