I can't find it but someone post a while back a way to easily format the system time variable into XX:XX:XX
Pretty sure it was all on one line, or used on the Set Text action...
does anyone know?
Develop games in your browser. Powerful, performant & highly capable.
zeropad(Date.GetHours(Date.Now),2) & ":" & zeropad(Date.GetMinutes(Date.Now),2) & ":" & zeropad(Date.GetSeconds(Date.Now),2)
Using Date plugin
calminthenight I am converting the time variable, I don't want the current time.
I am showing the player how long they played the game.
got it:
"Time: " &zeropad(floor(time/84600),2)&"d "&zeropad(floor(time/60/60%60),2)&"h "&zeropad(floor(time/60%60),2)&"m "&zeropad(floor(time%60),2)&"s"