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);
[Updated on: Thu, 11 February 2010 15:18]
Report message to a moderator