At 12:12 07/07/2004, you wrote:
Hi all

I've been bitten with CF's rejection of the ISO date format with LSDateFormat and general grief with non-US dates (esp with dd/mm/yyyy). The idea is simply to pass a date from a form to a cfqueryparam in ISO format without grief. I'm not winning.

 "invalid date format" LSDateFormat("1996/01/03","yyyy/mm/dd")

Apart from tearing the date apart and re-assembling it or using "mmm" for months, is there anything else that consistantly works?

As far as I know, the hyphen is the only allowed date part delimiter to make ISO 8601 dates more readable to mere mortals. dateFormat() will parse dates like "1996-01-03" :)



Mark


-- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
     *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
          *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]



Reply via email to