Yep your sure correct about that, I looked up the formatting info in Bens
CF4.0 Book Page 879, says it should be "Day Of Year" I guess thats incorrect
or was changed in 4.01. Now looking in the CFML refrence I see "Y" is a
single digit for year, which makes more sense. I guess I need
"DayOfYear(date)" function.
Thanks.
-----Original Message-----
From: Billy Cravens [mailto:[EMAIL PROTECTED]]
Essentially does the same thing. The reason why it returns 1 is your
date mask; all your outputting in that instance is one digit of the
year; "YYYY" will return "2001".
Billy Cravens
Adrian Cesana wrote:
> Why does dateformat(Now(), "Y") result in 1, (running today), isnt this
the
> Julian Date function?
>
> -Adrian
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists