>
>Here is the code:
>
><CFSET NewDate=CreateODBCDate(#dateformat(Now(),"mm/dd/yy")#)>

Should be <cfset NewDate = #CreateODBCDate(Now())#>

Pound signs always go on the outside, any text not escaped (inside single 
or double quotes) insides the pound signs are interpreted as 
variables.  And creating a date will automatically format the date 
correctly, so no need for the dateformat command.  And the date format for 
ODBC dates aren't mm/dd/yy anyway, they are {d 'yyyy-mm-dd'}   Hope this helps.

Judah

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to