Sign in to follow this  
Guest greenco

Help needed for time display

Recommended Posts

About a year ago, I coded this timer gauge and at that time I did not need to have the seconds displayed. I would now like the seconds displayed and can't remember how to do it. The purpose of this gauge is to record the zulu time, at the time of the mouse click and display the captured time in the gauge. I use a second gauge to record the zulu time, at the end of the timed event. It works great, but it only displays the hours and minutes. What do I need to change/add to make it display Hours:Minutes:Seconds? Any help or suggestion are welcomeThanksTimer 1 (L:var1x,bool) 1 == if{ (P:ZULU TIME,hours) (>L:var1y,enum) }%((L:var1y,enum) flr 24 %)%!02d!:%((L:var1y,enum) 60 * flr 60 %)%!02d!%{end} (M:Event) 'LeftSingle' scmp 0 == if { 1 (>L:var1x,bool) } (M:Event) 'LeftRelease' scmp 0 == if{ 0 (>L:var1x,bool) }

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this