[ wxwindows-Bugs-1635563 ] no way to get Time zone out of wxDateTime

SourceForge.net noreply at sourceforge.net
Sun Jan 14 21:28:15 PST 2007


Bugs item #1635563, was opened at 2007-01-14 21:28
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1635563&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Common
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: wirehead (wireheadarts)
Assigned to: Nobody/Anonymous (nobody)
Summary: no way to get Time zone out of wxDateTime

Initial Comment:
I saw the following workaround posted in an earlier bug:

localTimeZone = atoi( wxDateTime::Now().Format(
"%z").c_str()) / 100;

But it doesn't work on my system because the %z paramater gives a long timezone name.

All you really need is the ability to get the timezone offset in minutes from GMT.  One paramter.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1635563&group_id=9863




More information about the wx-dev mailing list