incendium.time.get_timestamp - ignition-devs/incendium GitHub Wiki
Description
[!WARNING] Deprecated since version 2024.5.0.
Get timestamp in "hh:mm:ss" format.
Syntax
incendium.util.get_timestamp(value)
Args:
- value (
int
): Time represented in seconds.
Returns:
str
: Time elapsed represented by a string in the following format: "hh:mm:ss".
Recommendations
None.
Code Examples
from __future__ import print_function
import incendium.util
print(incendium.util.get_timestamp(10942))
# This prints "03:02:22"