-
Python (
http://www.daniweb.com/forums/forum114.html)
| animatinator | Oct 16th, 2007 2:34 pm | |
| wxPython DateTime problems I'm having problems with storing a wxDateTime object from a wxDatePickerCtrl in a file and then reading it again when the program starts (so I can set the date picker's value to what it was the last time the program was run). When I get the value from the date picker it's a wxDateTime object which displays as "10/18/07 00:00:00". The problem occurs when reading it from a file, as it is read as a string and the date picker gives errors saying it needs a wxDateTime object:S How can I make a wxDateTime from a string? |
| All times are GMT -4. The time now is 9:26 am. | |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC