Time math
-
Hi,
I tried to do date maths about time. For example, I set a variable to be current time (formatted H:i:s). Then I do a math with [calc]current + 20[/calc] where 20 is 20 sec. But it only adds 20 to the Hours.I guess I have to convert “current” to ISO time format then do the math, but I don’t see a guide about converting that.
Could you please assisting me on this?
Thanks a lot.
The topic ‘Time math’ is closed to new replies.