Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

CF, french dates and MS Access

$
0
0

Hi,

 

I have a problem inserting dates in a MS Access database. Days and month are swapped everytime the date stay valid.


Ex: 05 of june 2013 become six of may 2013 but 13th of june is not changed.

I use:

 

 

#CreateODBCDate(Dateformat(mydate,"dd/mm/yyyy"))# 

 


Of course i put in my Application.cfm :


<cfset Locale=setLocale("French (standard)")>

 


I tried too using a variable :

 


<cfset variables.MyDate="##" & "#Dateformat(form.MyFormDate,"dd/mm/yyyy")#" & "##">

 

and then

 

Insert into myTable 
(MyDateField)
Values
(#variables.MyDate#)
Where etc...

 

but the result is the same.

 

Windows 2003 server and CF8.

Sorry for my terrible english and thanks in advance.


Jean-Jacques


Viewing all articles
Browse latest Browse all 5794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>