you can do this...

<cfquery name="blah" datasource="foo">
        select * from foo where TheDate >= #Now()#
</cfquery>

and that value can be anything that is acceptable date format

...tony

Tony Weeg
Senior Web Developer
UnCertified Advanced ColdFusion Developer
Information System Design
Navtrak, Inc.
Mobile workforce monitoring, mapping & reporting
www.navtrak.net
410.548.2337 

-----Original Message-----
From: Frank Mamone [mailto:[EMAIL PROTECTED]] 
Sent: Monday, January 27, 2003 12:16 PM
To: CF-Talk
Subject: Date question


What is the nest way to format a date to compare to a database datetime
column.

Basically I want to pull all records created after the original request
was
made.

So,
<CFSET RequestTime = "this is what I need">

<CFQUERY.....>
SELECT ......

Where datecolumn >= RequestTime

</CFQUERY>

I'm really bad with date stuff and I need to learn how to work with
them.

Thanks,

Frank


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to