Try this

SELECT fields
FROM table
WHERE date <= (Now()-365)

365 days in year???





Daryl Fullerton,
Managing Partner,
BizNet Solutions,
Allaire Premier Partner (Ireland)
133 - 137 Lisburn Road
Belfast
BT9 7AG
Ireland

Direct +44 (0) 28 9022 7888
Tel  +44 (0) 028 9022 3224
Fax +44 (0) 028 9022 3223


[EMAIL PROTECTED]
Http://www.BizNet-Solutions.com

[EMAIL PROTECTED] (Chairman)
Http://www.cfug.ie The Irish Cold Fusion User Group
----- Original Message -----
From: freeee meeeee <[EMAIL PROTECTED]>
To: CF-Talk <[EMAIL PROTECTED]>
Sent: Thursday, November 30, 2000 3:59 PM
Subject: Get the last 12 months transactions?


> Does anyone know how to test that a date is in the last 12 months?
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to