Home » U++ Library support » U++ Core » Getting timezone or UTC offset?
Re: Getting timezone or UTC offset? [message #24552 is a reply to message #24550] |
Sat, 23 January 2010 23:48   |
 |
mirek
Messages: 14256 Registered: November 2005
|
Ultimate Member |
|
|
jeremy_c wrote on Sat, 23 January 2010 16:11 |
luzr wrote on Sat, 23 January 2010 14:32 |
Shire wrote on Sun, 10 January 2010 02:57 | IMHO, GetUTCTime() and GetSysTime() is not quite correct.
Better and correct name for GetSysTime is GetLocalTime.
|
I agree, but 'Sys' has to stay - too many code written already.
|
I wonder if GetLocalTime shouldn't be a define and from here on out encourage people to use GetLocalTime simply for clarity in their own apps.
Jeremy
|
Does not need to be #define, Time GetLocalTime() { return GetSysTime(); } (or vice versa) would work as well.
Still, at this stage, IMO it is nitpicking. After all, you set your PC time in BIOS to your local time -> I would say system time is local then...
Mirek
|
|
|
 |
|
Getting timezone or UTC offset?
By: jeremy_c on Tue, 20 October 2009 16:37
|
 |
|
Re: Getting timezone or UTC offset?
By: mirek on Wed, 21 October 2009 09:36
|
 |
|
Re: Getting timezone or UTC offset?
By: jeremy_c on Wed, 21 October 2009 18:35
|
 |
|
Re: Getting timezone or UTC offset?
By: mirek on Wed, 21 October 2009 22:20
|
 |
|
Re: Getting timezone or UTC offset?
By: jeremy_c on Wed, 21 October 2009 23:16
|
 |
|
Re: Getting timezone or UTC offset?
By: koldo on Thu, 22 October 2009 08:17
|
 |
|
Re: Getting timezone or UTC offset?
By: koldo on Thu, 22 October 2009 09:32
|
 |
|
Re: Getting timezone or UTC offset?
By: jeremy_c on Thu, 22 October 2009 13:03
|
 |
|
Re: Getting timezone or UTC offset?
By: mirek on Thu, 22 October 2009 16:55
|
 |
|
Re: Getting timezone or UTC offset?
By: jeremy_c on Thu, 22 October 2009 18:14
|
 |
|
Re: Getting timezone or UTC offset?
By: koldo on Fri, 23 October 2009 01:32
|
 |
|
Re: Getting timezone or UTC offset?
By: jeremy_c on Fri, 23 October 2009 01:37
|
 |
|
Re: Getting timezone or UTC offset?
By: Shire on Sun, 10 January 2010 08:57
|
 |
|
Re: Getting timezone or UTC offset?
By: mirek on Sat, 23 January 2010 20:32
|
 |
|
Re: Getting timezone or UTC offset?
By: jeremy_c on Sat, 23 January 2010 22:11
|
 |
|
Re: Getting timezone or UTC offset?
By: mirek on Sat, 23 January 2010 23:48
|
 |
|
Re: Getting timezone or UTC offset?
By: Shire on Sat, 30 January 2010 15:36
|
 |
|
Re: Getting timezone or UTC offset?
By: mirek on Sat, 30 January 2010 19:48
|
Goto Forum:
Current Time: Thu May 01 05:39:29 CEST 2025
Total time taken to generate the page: 0.00671 seconds
|