All Posts tagged : "y2k38 bug"

Post image for Is Your PHP Application Affected by the Y2K38?

Is Your PHP Application Affected by the Y2K38?

What if you run below php code in your system? <?php   $date = ’2040-02-01′;   $format = ‘l d F Y H:i’;   $mydate1 = strtotime($date);   echo ‘<p>’, date($format, $mydate1), ‘</p>’; ?> With luck, you’ll see “Wednesday 1 February 2040 00:00″ displayed in your browser. If you’re seeing a date in the late [...]