-
-
Notifications
You must be signed in to change notification settings - Fork 2
incendium.util.get_timestamp
César Román edited this page Feb 11, 2022
·
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.
import incendium.util
print incendium.util.get_timestamp(10942)
# This prints "03:02:22"