Jump to content
Sign in to follow this  
Guest greenco

Help needed for time display

Recommended Posts

Guest greenco

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

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...