Adding a day to a wxDateTime

Hi How can I add one day?
For example, I have today mai - 07 - 2008 - wednesday
How can I make it become may - 08 - 2009 - thursday?

thx

David,

David Anderson wrote:

Hi How can I add one day?
For example, I have today mai - 07 - 2008 - wednesday
How can I make it become may - 08 - 2009 - thursday?

What about:
x = wx.DateTimeFromDMY(01, 05, 2008)
>>> w = x + wx.DateSpan(days=1)
>>> x
<wx.DateTime: "01/06/2008 00:00:00" at _805b2905_p_wxDateTime>
>>> w
<wx.DateTime: "02/06/2008 00:00:00" at _d05b2905_p_wxDateTime>

Werner