Just in case anyone's having the same issue, Bj�rn Jensen pointed me in the
direction of the setlocale() function which seems to do the trick, as below.
This will now treat a form date as dd/mm/yy regardless of 4 or 2-digit
years.
<cfset previous_locale = SetLocale("English (UK)")>
<CFOUTPUT>Locale has changed from #previous_locale# to
#GetLocale()#</CFOUTPUT>
<cfset US_Date = ParseDateTime(form_date)>
<cfset UK_Date = LSParseDateTime(form_date)>
--
Neil
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists