Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Real Time on the HUD
Re: Real Time on the HUD [message #419694 is a reply to message #419672] Thu, 11 February 2010 15:11 Go to previous messageGo to previous message
Omar007 is currently offline  Omar007
Messages: 1711
Registered: December 2007
Location: Amsterdam
Karma:
General (1 Star)
reborn wrote on Thu, 11 February 2010 12:20

It's getting the local system time.

Then he wouldnt need to have people fill in their timezone.

I just looked at that function and it does indeed. Yay I just learned a new function ^^ lol

Oh and maybe change:
strftime(f_time,9,"%I:%M:%S",timeinfo);

so it shows in 24 hours:
strftime(f_time,9,"%H:%M:%S",timeinfo);

or let it show AM/PM:
char f_time[11];
strftime(f_time,11,"%I:%M:%S%p",timeinfo);


http://tiberiumredux.omarpakker.nl/Old Unused Parts/Plaatjes/PromoteBanner_Hades_small.jpg

[Updated on: Thu, 11 February 2010 15:18]

Report message to a moderator

 
Read Message icon1.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Skin Help,
Next Topic: Editor Help!
Goto Forum:
  


Current Time: Sat Dec 14 10:40:49 MST 2024

Total time taken to generate the page: 0.00877 seconds