View Single Post
Old 04-23-2009, 06:40 PM   #1 (permalink)
Enfernikus
The Addict
 
Enfernikus's Avatar
 
Join Date: Jun 2008
Posts: 335
Thanks: 2
Enfernikus is on a distinguished road
Default On an interesting note

PHP Code:

abs
(ceil((strtotime($endDate) - strtotime($startDate)) / 86400)) 

Curiously, I got a negative number for this - PHP breaking the rules of math?
Enfernikus is offline  
Reply With Quote