jshanks
22nd December 2006, 22:42
Hi All,
Is there a way to calculate forward date using utc.num()+number of days?
For e.g. I tried using utc.num()+12 but it returns just the current date and doesn't add 12 days to it. After searching the forums, I found some ways to seperate out the month, day and year and then recalculate the date but it has some limitations. I was wondering whether there is a easy way out to add 12 days to current date and store it in a utc type variable.
Any information will be greatly appreciated.
Regards
Jai
Is there a way to calculate forward date using utc.num()+number of days?
For e.g. I tried using utc.num()+12 but it returns just the current date and doesn't add 12 days to it. After searching the forums, I found some ways to seperate out the month, day and year and then recalculate the date but it has some limitations. I was wondering whether there is a easy way out to add 12 days to current date and store it in a utc type variable.
Any information will be greatly appreciated.
Regards
Jai