i have a problem in Sql. I try to write sql including the different between
time( '#Abs("#DateDiff("d","#now()#","#sec_confirm#")#")#') in the
where command so that i can output the record easily. But i don't have
the solution how to solve this problem. If anyone know how to solve this
problem please do help me.

my coding

<cfquery name="GetRecordNotCollected" datasource="clientmaster"
dbtype="ODBC">
        Select *
        from user_info
        where getlogin_ready = '1' 
</cfquery>

<cfloop query="GetRecordNotCollected">
<cfset Howmanyday =
'#Abs("#DateDiff("d","#now()#","#sec_confirm#")#")#'>
<cfif Howmanyday GTE "7">
my output
</cfif>
</cfloop>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to