wxPython DateTime problems

Reply

Join Date: Oct 2007
Posts: 7
Reputation: animatinator is an unknown quantity at this point 
Solved Threads: 0
animatinator animatinator is offline Offline
Newbie Poster

wxPython DateTime problems

 
0
  #1
Oct 16th, 2007
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 How can I make a wxDateTime from a string?
AHAHAHA, I'm such a 1337 haxxor! Whoever's at 127.0.0.1 just got their hard disk erased!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Python Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC