Home > Archive > ASP > February 2005 > Easy date handling?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Easy date handling?
|
|
|
| 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
| |
|
|
|
| > dateAdd
> http://msdn.microsoft.com/library/d...ary/en-us/scrip
> t56/html/vsfctdateadd.asp
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
| |
|
|
|
|
|