Posts Tagged ‘strtotime’

Of PHP versions and strtotime

Wednesday, March 18th, 2009

So Jason and I stumbled upon an ugly version dependency. It wasn’t terrible but required special testing and fixing and was annoying for a few minutes.

Jason has PHP version 5.2.6 on his machine. He wrote a php page for me that did some date math using strtotime. Specifically he did this:

$earliest_time = [...]