Well you can create a new date object using CreateDateTime, CreateODBCDateTime, after stripping out the wanted values with Left, Right and Mid.


So for DD-MM-YYYY you could do


<cfset datevar = "20-07-2004">
<cfset tmp = createODBCDate(createDate(ListGetAt(datevar,3,"-"), ListGetAt(datevar,2,"-"), ListGetAt(datevar,1,"-")))>


Micha Schopman
Software Engineer
Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to