Sum some days to wxDateTime Object Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
stefania
Knows some wx things
Knows some wx things
Posts: 26
Joined: Wed Jul 20, 2005 9:08 am

Sum some days to wxDateTime Object

Post by stefania » Tue Dec 16, 2014 12:51 pm

Hi!

I need to sum some days to a wxDateTime object and print new date

How can I do it?

Thanks

User avatar
tierra
Site Admin
Site Admin
Posts: 1343
Joined: Sun Aug 29, 2004 7:14 pm
Location: Salt Lake City, Utah, USA
Contact:

Re: Sum some days to wxDateTime Object

Post by tierra » Tue Dec 16, 2014 2:26 pm

You can use several built-in operators between wxDateTime and wxTimeSpan.

User avatar
tierra
Site Admin
Site Admin
Posts: 1343
Joined: Sun Aug 29, 2004 7:14 pm
Location: Salt Lake City, Utah, USA
Contact:

Re: Sum some days to wxDateTime Object

Post by tierra » Tue Dec 16, 2014 2:30 pm


stefania
Knows some wx things
Knows some wx things
Posts: 26
Joined: Wed Jul 20, 2005 9:08 am

Re: Sum some days to wxDateTime Object

Post by stefania » Tue Dec 16, 2014 2:36 pm

Thanks very much!!!!

Stefania

Post Reply