On 5/2/07, Paul Hastings <[EMAIL PROTECTED]> wrote:
> Jon Clausen wrote:
> > <cfset date = dateAdd("d",-1, now())>
> > <cfset date = createODBCDateTime(date)>
>
> you don't need this step.
>
> > <cfset udate = date.getTime()>

It's also worth mentioning that you don't need THIS step:

<cfset date = createODBCDateTime(date)>

the only purpose for the createODBCDateTime() is to use IN a query,
and it's not necessary if you're using cfqueryparam.

Rick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276801
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to