Blogs

Why is there 5.9583333 days between 24/03/2011 and 30/03/2011
Published: 19/05/2011
I was recently asked to debug some code to find out why a date difference function was returning some odd results. daysdiff( '2011-03-24', '2011-03-30') = 5.9583333, yet daysdiff( '2011-04-24', '2011-04-30') = 6

This site uses cookies, please read my cookie policy.