Added workaround for strtotime("0000-00-00 00:00:00") returning -62169955200 on a 64 bit system