Of course, if you actually convert the string to a real date ob, it
works just fine...
<cfoutput>#dateformat(parseDateTime('Tuesday, 17 December 2002 05:21:09
PM EST'))#</cfoutput>
=======================================================================
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
Email : [EMAIL PROTECTED]
WWW : www.camdenfamily.com/morpheus
Yahoo IM : morpheus
"My ally is the Force, and a powerful ally it is." - Yoda
> -----Original Message-----
> From: Randell B Adkins [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 23, 2002 8:26 AM
> To: CF-Talk
> Subject: RE: DateFormat in CFMX
>
>
> I agree. Running the line as you did, does result in an error
> with the class: java.util.Date
>
> Can anyone from Macromedia chime in on this???
>
>
>
> >>> [EMAIL PROTECTED] 12/23/02 09:21AM >>>
> I'm not saying it could cause an issue, but it does affect
> how the date parsing works - I'm just trying to narrow down
> the posibilities. As it stands, I ran this:
>
> <cfoutput>#dateformat('Tuesday, 17 December 2002 05:21:09 PM
> EST')#</cfoutput>
>
> and got an error on my box. Looks like it may be a bug unless
> I'm missing something.
>
> ==============================================================
> =========
> Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
>
> Email : [EMAIL PROTECTED]
> WWW : www.camdenfamily.com/morpheus
> Yahoo IM : morpheus
>
> "My ally is the Force, and a powerful ally it is." - Yoda
>
> > -----Original Message-----
> > From: Randell B Adkins [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, December 23, 2002 8:11 AM
> > To: CF-Talk
> > Subject: RE: DateFormat in CFMX
> >
> >
> > In this case, English (US).
> >
> > But could be lets say English (New Zealand)
> > or really any other Locale.
> >
> > Would using the LSDateFormat function be better
> > if the Locale could vary?
> >
> >
> >
> > >>> [EMAIL PROTECTED] 12/23/02 09:05AM >>>
> > What locale are you under?
> >
> > ==============================================================
> > =========
> > Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
> >
> > Email : [EMAIL PROTECTED]
> > WWW : www.camdenfamily.com/morpheus
> > Yahoo IM : morpheus
> >
> > "My ally is the Force, and a powerful ally it is." - Yoda
> >
> > > -----Original Message-----
> > > From: Randell B Adkins [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, December 23, 2002 7:53 AM
> > > To: CF-Talk
> > > Subject: Re: DateFormat in CFMX
> > >
> > >
> > > After checking the archives, there did seem to be
> > > an issue with this.
> > >
> > > Rob Rohan - Did you determine what the problem was as
> > > well as a fix?
> > >
> > > Sean A Corfield - Any ideas on it? It works on some
> directories but
> > > noth others.
> > >
> > > Thanks!!
> > >
> > >
> > >
> > > >>> [EMAIL PROTECTED] 12/23/02 08:32AM >>>
> > > Is there a dateformat issue using CFMX that was addressed in some
> > > update/patch, or some means??
> > >
> > > When doing a directory listing, some directories will report fine
> > > and format the date accordingly using the DateFormat function.
> > > However, there are some directories which will throw an error.
> > > Nothing special regarding the directory.
> > >
> > > Thanks in Advance!
> > >
> > >
> > >
> > >
> > >
> >
> >
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm