Must be going through some of my old code... :)
I find some shtuff in my own code all the time. Rick -----Original Message----- From: Andy Matthews [mailto:li...@commadelimited.com] Sent: Tuesday, August 31, 2010 4:25 PM To: cf-talk Subject: RE: Check out this... code.... You're right. The correct version should be: #Year(DateAdd("yyyy", 0, Now()))# No need for the -1. andy -----Original Message----- From: Eric Cobb [mailto:cft...@ecartech.com] Sent: Tuesday, August 31, 2010 4:13 PM To: cf-talk Subject: Re: Check out this... code.... I'm glad you posted this today, I just found this one a few minutes ago: #Year(DateAdd("yyyy", 1, Now()))-1# Thanks, Eric Cobb ECAR Technologies, LLC http://www.ecartech.com http://www.cfgears.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336694 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm