-
-
Notifications
You must be signed in to change notification settings - Fork 2
incendium.util.get_timer
César Román edited this page Oct 15, 2021
·
10 revisions
Get a timer with the time elapsed from value until now.
This will be in the following format: hh:mm:ss.
get_timer(date)
Args:
- 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})