Home All Groups Group Topic Archive Search About


Author
24 Feb 2005 2:07 PM
Sune
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

Author
24 Feb 2005 2:56 PM
Sune
I was pretty sure there should be a function for it - stupid me for not checking
the vb reference first.
My appologies and thank you very much for the help, i appreciate it.
--
Regards,
Sune
Author
24 Feb 2005 5:23 PM
Gérard Leclercq
Indeed. Before asking the NG, check www.google.com first. Or
www.w3schools.com or www.aspFaq.com

AddThis Social Bookmark Button