You are getting the difference in minutes in the 1st case and in hours in
the 2nd.  The sign depends on which time is first.
-David

On Fri, 21 Apr 2000 16:45:06 -0700 Shawn Regan <[EMAIL PROTECTED]> writes:
> Hey guys I'm compare times and I keep getting negative numbers in 
> return.
> For example I'm doing a datediff on two different times like 11:45 
> and 02:45
> and I get back -539 but if I compare 9:00 and 11:00 datediff returns 
> 2 which
> is right. What am I doing wrong with the first example?
> 
> Shawn Regan

________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
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.

Reply via email to