try using dateadd() it asks for a part, like year, and then the
offset, so you could do -1.. Should work for you

On 10/18/06, Orlini, Robert <[EMAIL PROTECTED]> wrote:
> How can I set this to be one year behind? Right now it displays 2006; I would 
> like it to display 2005
>
> <cfset year = #dateformat(now(),"yyyy")#>
>
> Thanks.
>
> Robert O.
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:257254
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to