View Single Post
  #2 (permalink)  
Old January 5th, 2010, 07:19 PM
mhkay's Avatar
mhkay mhkay is offline
Wrox Author
Points: 18,481, Level: 59
Points: 18,481, Level: 59 Points: 18,481, Level: 59 Points: 18,481, Level: 59
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,960
Thanks: 0
Thanked 292 Times in 287 Posts
Default

Comparisons of time values can work in peculiar ways, because time is essentially cyclic. The value 24:00:00 is particularly dangerous, because it is a synonym of 00:00:00. Try changing it from 24:00:00 to 23:59:59.999.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
Reply With Quote
The Following User Says Thank You to mhkay For This Useful Post:
geek.shrek (January 5th, 2010)