Just to make things even more confusing, have you checked out the docs
for the ParseDatetime function?

There is an entry stating this:
pop-conversion
 pop: Specifies that the date/time string is in POP format, which
 includes the local time of the sender and a time-zone offset from
 UTC. ColdFusion applies the offset and returns a value with the UTC
 time.

Followed by line stating this:
Note:   This function does not accept POP dates.

??

Someone was smoking crack when that function was written, or at least
when the docs were written...

bye!

Tuesday, November 30, 2004, 3:02:09 PM, you wrote:

MK> On Tue, 30 Nov 2004 14:57:56 +1100, Ryan Sabir <[EMAIL PROTECTED]> wrote:
>> Heya Mike,
>> 
>> Isn't
>> 
>> "isdate(parsedatetime(newsitem.pubdate.xmltext))"
>> 
>> a bit redundant, as if CF successfully parsed the string, it will have
>> turned it into a date. If you pass something that's not a date in, the
>> above function would throw an error.
>> 
MK> Wel that's the point Ryan.  I had newsitem.pubdate.xmltext.  I put it
MK> into IsDate(), and figured if it's not a date, it'll just skip over
MK> the CFIF it's in.  But it didnt.  When it got something that actually
MK> is a date, but not apperently in the format it likes, it threw an
MK> error instead of just returning false so teh CFIF could skip over the
MK> bit of code.

MK> This only worked when i had both isDate() and parsedatetime().  I'm
MK> not sure why.

MK> Cheers
MK> Mike Kear

MK> ---
MK> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
MK> To unsubscribe send a blank email to [EMAIL PROTECTED]
MK> Aussie Macromedia Developers: http://lists.daemon.com.au/


-----------------------
Ryan Sabir
Newgency Pty Ltd
2a Broughton St
Paddington 2021
Sydney, Australia
Ph (02) 9331 2133
Fax (02) 9331 5199
Mobile: 0411 512 454
http://www.newgency.com/index.cfm?referer=rysig 


---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to