Hello,
I'm an absloute cf newbe. I only need a little script which prints out a month
and the day of the month like this format:
[b]&actMonth=12&actDay=3[/b]
It would be great, if anybody can give me this little script. I only need the
output for a Flash application
Thank you!
Sven Wagener
flashsaver.org - create your http://www.flashsaver.org online!
Dan Bracuk - 30 Nov 2006 12:37 GMT
Look up the dateformat function in the cfml reference manual. If you don't
have one, the internet does.
To find cold fusion functions on the internet google "coldfusion name of
function" Note the coldfusion is one word.
Sankalan - 30 Nov 2006 19:35 GMT
I think DatePart() function is what you need.
<cfoutput>
For month #DatePart("m", Now())#
For Day #DatePart("d", Now)#
</cfoutput>
Thanks
Sankalan
(www.mindfiresolutions.com)
[CJ] - 30 Nov 2006 20:21 GMT
that'll work, but using the month() and day() functions would probably be more concise :)