I need a little help with a ColdFusion function. I need to calculate the date of
the next Tuesday 3 weeks from the current date.
I am assuming that I need to use the dateadd but I am not really sure how to
figure out the day thing.
Any help with this would be great.
-Steve
Use the DayOfWeek(now) to get the day number, find out the difference to
Tuesday and to a dateAdd for day to either go back in time. Then use the
DateAdd of 3 weeks to get your result.
Regards,
Andrew Scott
http://www.andyscott.id.au/
> I need a little help with a ColdFusion function. I need to calculate the
date of
> the next Tuesday 3 weeks from the current date.
>
> I am assuming that I need to use the dateadd but I am not really sure how
to
----- Excess quoted text cut - see Original Post for more -----