If I read you right (add 7 days, then format the new value), something like
this should work:
#DateFormat(DateAdd("d", 7, startdate), 'yyy.mm.dd')#
On Jan 2, 2008 3:49 PM, Mark Fuqua <[EMAIL PROTECTED]> wrote:
> This works
>
> #DateAdd("d", 7, "1/28/2008")#
>
>
>
> And this works
>
> #DateFormat(startdate, 'yyy.mm.dd')#
>
>
>
> I need to combine them. Take the variable startDate, add 7 days and
> format
> it like above in one expression. Is that possible? I know this is wrong,
> but something like this:
>
>
>
> #DateAdd("d", 7, "DateFormat(startDate, 'yyy.mm.dd')#
>
>
>
> Is this what evaluate is for?
>
>
>
> Mark
>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295723
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4