05-25-2006 06:37 PM
05-28-2006 11:44 AM
This is just a guess, but have you tried specifying the end time as the same day but also specifying the time as 23:59:59?
WHERE LocalTime >= "2006-05-23" and LocalTime <= "2006-05-23 23:59:59"
-Khalid
05-29-2006 12:00 AM
05-29-2006 04:41 PM
WHERE LocalTime >= "2006-05-23" and LocalTime <= "2006-05-23 23:59:59"
Is it possible that LocalTime "2006-05-23" has an implied time part of 00:00:00? If so, isn't the period actually less than a full day. (1 sec less?)
It would be interesting to test with an interval other than 1. (ie 00:01:00)
Also the results from a full 24 hour period might work differently.
ie WHERE LocalTime >= "2006-05-23 00:00:00" and LocalTime <= "2006-05-24 00:00:00"
Stated another way, there are 24 hours in one day. But you need to specify 25 hourly times to specify those 24 intervals.
Regards,
Bob
05-29-2006 09:15 PM
05-30-2006 01:01 PM
05-30-2006 01:33 PM - edited 05-30-2006 01:33 PM
Message Edited by Mike@DTSI on 05-30-2006 01:38 PM
05-31-2006 10:14 PM
I'm a little confused.
The result in example 2 is 5/24/2006 .5313... (12:45:13)
Do you mean it should be 5/23 12:45:13?
If you trace the data in MAX, what's the date for that? 5/23?
05-31-2006 10:19 PM