Single- or double-quotes shouldn't make a difference.

> -----Original Message-----
> From: Jeff Garza [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 09, 2002 1:03 PM
> To: CF-Talk
> Subject: Re: Not Another MX boo boo?
> 
> 
> Use single quotes in your DateFormat mask attribute and it 
> will work.  This
> works for me...
> 
> <CFSET str = dateformat(now(),'mm/dd/yy (ddd)')>
> <CFOUTPUT>#str#</CFOUTPUT><BR>
> <CFOUTPUT>#dateformat(now(),'mm/dd/yy (ddd)')#</CFOUTPUT>
> 
> HTH,
> 
> Jeff Garza
> 
> ----- Original Message -----
> From: "Rob Rohan" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Wednesday, October 09, 2002 9:14 AM
> Subject: RE: Not Another MX boo boo?
> 
> 
> Error Occurred While Processing Request
> "{ts '2002-10-09 09:12:48'}" is an invalid date format.
> 
> 
> The Error Occurred in D:\http\test\datetest.cfm: line 8
> 
> 6 : </FORM> --->
> 7 :
> 8 : <CFSET str = dateformat(now(),"mm/dd/yy (ddd)")>
> 9 : <CFOUTPUT>#str#</CFOUTPUT><BR>
> 10 : <CFOUTPUT>#dateformat(now(),"mm/dd/yy (ddd)")#</CFOUTPUT>
> 
> 
> 
> 
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.


Reply via email to