|
-
April 10th, 1999, 07:03 PM
#2
Re: Advanced time
Hi,
I wont ask you why do you use such a sophisticated way to calculate a current time instead of calling CTime functions.
BUT:
Check out "tm" structure
specifically:
tm.tm_isdst
"Positive value if daylight saving time is in effect; 0 if daylight saving time is not in effect; negative value if status of daylight saving time is unknown. The C run-time library assumes the United States’s rules for implementing the calculation of Daylight Saving Time (DST). "
MS MSDN
i.e. called with localtime() or gmtime()
only hope this works... you never know before you try it.
regards
Rem
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|