Easy date handling?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Sune (dsl102647_at_vip.cybercity.NOSPAMdk)
Date: 02/24/05


Date: 24 Feb 2005 14:07:45 GMT

I'm working on a system that requires alot of date handling, and i'm getting
pretty tired of doing custom calculating when modifying dates, so i hope
someone would be able to help me.
Is there any easy way to do re-calculating of dates? such as adding 2,11
or 36 months to a date, and have it automatically checking whether or not
it should increase months or year, and by how much?

Like, if i have to add 11 months to the date right now, i have to check which
month it's in to see whether or not i could just take one month lesser the
next year and so on...
It's hard to descreibe, but i hope you got the point. Thanks.

--
Regards,
Sune


Relevant Pages

  • Re: CCheckListBox
    ... CCheckListBox and override the handling of WM_DRAWITEM to paint it ... modifying the color as appropriate. ...
    (microsoft.public.vc.mfc)
  • Re: Does Andy have a plan ?
    ... in a world in which forwards were picked for their running and handling ... just as some Australians would still like. ... that Neil Back was a giant. ... I think alot of people would agree with you there. ...
    (rec.sport.rugby.union)
  • Re: Netscreen Passive FTP question
    ... alot of the netscreen documentation and it says it "supports active ... handling". ... >the need to configure something speacial, if you allow FTP? ...
    (comp.security.firewalls)