Just a note straight out of the php manual for the function: strtotime – int strtotime ( string $time [, int $now = time() ] )

Dates in the m/d/y or d-m-y formats are disambiguated by looking at the separator between the various components –  if the separator is a slash (/), then the American m/d/y is assumed; whereas if the separator is a dash (-) or a dot (.), then the European d-m-y format is assumed

Glad I spotted this before wasting time looking for a problem elsewhere.

Adam Skinner

Web developer who takes a keen interest in FOSS and other technical subjects. Currently learning laravel