-
-
Notifications
You must be signed in to change notification settings - Fork 2
incendium.util.get_timestamp
César Román edited this page Feb 26, 2023
·
9 revisions
Get timestamp in "hh:mm:ss" format.
Args:
- value (int): Time represented in seconds.
Returns:
-
str
: Time elapsed represented by a string in the following format: "hh:mm:ss".
None.
from __future__ import print_function
import incendium.util
print(incendium.util.get_timestamp(10942))
# This prints "03:02:22"