Set wxDateTime - with GMT values
Chris Stankevitz
cstankevitz at toyon.com
Tue Nov 6 07:41:04 PST 2007
Chris Stankevitz wrote:
> I have GMT values for Year, Month, Day, Hour, Minute, and Second.
>
> How do I fill a
> wxDateTime object with these values, and have the wxDateTime object
> supply me with local pacific time zone values?
Here's how I did it:
DateTime.Set( [GMT time values here] )
DateTime = DateTime.FromTimezone(wxDateTime::GMT0, true);
Chris
More information about the wx-users
mailing list