hello, I am simply trying to set the value in a date picker control.
I’m using SetValue for the datepickerctrl. I’m confused about the wxdatetime type to input to SetValue. I want to do something like this:
datepickerctrl.SetValue(11,28,2005)
but I know I need to input a wxdatetime… how does one convert a date as I have used in my example into a wxdatetime object (not sure if object is the right word?). thanks.
Jeff
···
Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
There was a recent thread about this subject. See:
http://thread.gmane.org/gmane.comp.python.wxpython/27558
Ricardo
···
On Mon, 2005-11-28 at 21:06 -0800, Jeff Peery wrote:
hello, I am simply trying to set the value in a date picker control.
I'm using SetValue for the datepickerctrl. I'm confused about the
wxdatetime type to input to SetValue. I want to do something like
this:
datepickerctrl.SetValue(11,28,2005)
but I know I need to input a wxdatetime.... how does one convert a
date as I have used in my example into a wxdatetime object (not sure
if object is the right word?). thanks.