>Using ISO format in ASP dates was a no-brainer. 
> 
> to be honest, that's the way it should be - easy. I mean it's just a
> date - not brain surgery...

Be that as it may, it's also a no-brainer to RTFM and use the function the
way it was intended.

This is a quote from livedocs:
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/functa28.htm#wp1108693

<quote>
LSDateFormat(date [, mask ])

date: A DATE/TIME OBJECT [my emphasis], in the range 100 AD-9999 AD.
</quote>

Not a string.  Not a string that looks like a date to both you, me, and
everyone else reading this.  A date object.

Date functions in CF are very understanding, and try to do their best with
the mishmash of inappropriate arguments people offer them, and generally do
a good job.  However sometimes they fall over.  You know: garbage in,
garbage out.  I have to say I'd prefer it if they just rejected strings
outright... people would only make this mistake once, that way.

I never use strings when CF asks for a date, and I never have any of the
many and varying problems people that tend to use strings instead do.

Adam

---
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