CountDown with TimeStamps convert to TimeString - ESOUI
Thread Tools Display Modes
Prev Previous Post   Next Post Next
03/06/19, 08:57 AM   #1
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.
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)


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

ESOUI » Developer Discussions » Tutorials & Other Helpful Info » CountDown with TimeStamps convert to TimeString

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off