D
durumdara
Hi !
1.
I have a code. I want to convert from wx.DatePickerCtrl.Value to
mx.DateTime.
But I don't know, how to do it simply.
2.
I need to increment this date by 6 days.
How to do it ? (I search for a simple way, like Delphi-s d2:=d1+6)
The code section is:
from mx import DateTime as mxDT
v=self.datePickerCtrl1.GetValue()
print type(v),v # wx._misc.DateTime
d1=mxDT.Date(2005,01,01)
print type(d1),d1 # DateTime
Thanks for advance: dd
1.
I have a code. I want to convert from wx.DatePickerCtrl.Value to
mx.DateTime.
But I don't know, how to do it simply.
2.
I need to increment this date by 6 days.
How to do it ? (I search for a simple way, like Delphi-s d2:=d1+6)
The code section is:
from mx import DateTime as mxDT
v=self.datePickerCtrl1.GetValue()
print type(v),v # wx._misc.DateTime
d1=mxDT.Date(2005,01,01)
print type(d1),d1 # DateTime
Thanks for advance: dd