Make date handling work with PHP version installed on Mathias' C64