Reputation: 327
I have a string timestamp ("YYYY-MM-DD HH:MM:SS") which is in GMT and I need to make a wxDateTime from it. Since with wxDateTime, (as stated in the documentation) "the time is always stored internally in GMT", one would presume there is a straightforward way to do this bypassing time zone altogether but "all wxDateTime constructors and setters which take the broken down date assume that these values are for the local time zone". So is it possible? Failing that, what is the easiest way to perform the above said conversion?
Upvotes: 0
Views: 281