Quantcast ESOUI - View Single Post - CountDown with TimeStamps convert to TimeString
View Single Post
03/06/19, 08:57 AM   #1
Baumkuchen3
AddOn Author - Click to view addons
Join Date: Jan 2019
Posts: 12
CountDown with TimeStamps convert to TimeString

Hi, i cant figure it out... i just want to show a CountDown in (hh:mm:ss) a Label.

This piece of code calculates the the time till the future time is now.
Code:
local timeRemainingSecs =  GetDiffBetweenTimeStamps(timeInFuture , GetTimeStamp())
So how can i convert the result to a nice looking Time string? I found this but it doesnt really work ... could I get a Example for a CountDown?

It would be perfect when the string would be with leading zeros --> e.g. 12:03:07 (not 12:3:7)

Thanks

Last edited by Baumkuchen3 : 03/06/19 at 12:57 PM.
  Reply With Quote