Subject: RE: DATE TAG
Try this - A bit long but it works:
cfswitch expression=#Day(Now())#
cfcase value=1
cfset dayAsString = First
/cfcase
cfcase value=2
cfset dayAsString = Second
/cfcase
cfcase value=3
I did consider it (for about a second) and realized I would never ever have a need for
this function, and the tagging and submission would double the development time.
=)
Thankfully Larry Juncker spruced it and posted it to cflib.org
Jerry Johnson
[EMAIL PROTECTED] 09/24/02 06:01PM
Thanks,
Has anyone seen a tag or know of a way to get CF to produce the date in the
following format:
09/22/2002 would read..The Twenty Second day of September, in the year
Two Thousand and Two.
Steve
__
Get the mailserver
I think you are going to have to write A UDF that uses some cfswitch tags to piece
together the output that you would like.
cfswitch exprtession=theDay
cfcase value=1
cfset dayString = First
/cfcase
cfcase value=2
cfset dayString = Second
/cfcase
...
/cfswitch
I know it is
Don't blame me if it doesn't work. Hasn't been tested. The paint is still wet.
cfparam name=dateString default=#now()#
cfset
of this
communication is prohibited.
If you have received this communication in error, please notify us at the
e-mail listed above.
-Original Message-
From: Steven A. del Sol [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 24, 2002 3:34 PM
To: CF-Talk
Subject: DATE TAG
Has anyone seen a tag or know
Thanks, you might want to consider wrapping it into a UDF or cf_tag.
Thanks again, STEVE
At 05:21 PM 9/24/2002 -0400, you wrote:
Don't blame me if it doesn't work. Hasn't been tested. The paint is still wet.
cfparam name=dateString default=#now()#
cfset
7 matches
Mail list logo