Yes, it's DateDiff , use "h" for the datepart.
DateDiff(datepart, date1, date2)
datepart
One of the following strings:
a.. yyyy -- Year
b.. q -- Quarter
c.. m -- Month
d.. y -- Day of year
e.. d -- Day
f.. w -- Weekday
g.. ww -- Week
h.. h -- Hour
i.. n -- Minute
j.. s -- Second
~ Justin MacCarthy
----- Original Message -----
From: "Aidan Whitehall" <[EMAIL PROTECTED]>
To: "CF-Talk (E-mail)" <[EMAIL PROTECTED]>
Sent: Thursday, September 14, 2000 3:44 PM
Subject: DateTimeDiff
> Is there DateDiff function that allows you to compare DateTime objects,
not
> just Date Objects?
>
> I need to flag a record yellow if it's an hour overdue, orange if it's two
> hours overdue and red for anything more than that.
>
>
> Thanks
>
> --
> Aidan Whitehall <[EMAIL PROTECTED]>
> Netshopper UK Ltd
> Advanced Web Solutions & Services
>
> http://www.netshopperuk.com/
> Telephone +44 (01744) 648650
> Fax +44 (01744) 648651
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> 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.
>
>
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
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.