Rick Sanders wrote:
> How can I change it to 05/21/2008 ?
<cfscript>
t="May 21, 2008";
tt=parseDateTime(t);
writeoutput("#dateFormat(tt,'mm/dd/yyyy')#");
</cfscript>
> Please help and let me know if there is a way to convert this date type in
> to a date string.
it already is a date string. you need to convert to datetime object so you can
format it to what you want.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307690
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4