-
-
Notifications
You must be signed in to change notification settings - Fork 2
incendium.util.get_timer
César Román edited this page Feb 11, 2022
·
10 revisions
Get a timer with the time elapsed from value until now.
This will be in the following format: hh:mm:ss.
Args:
- date (Date|long): A Date or a date represented in milliseconds.
Returns:
- str: Time elapsed.
This can be called from a runScript
Expression Function to display the elapsed time.
# Expression
runScript("incendium.util.get_timer", 1000, {Starting Date})