All pastes #359119 Raw Edit

ScottMac DST Checker

public text v1 · immutable
·published 2007-02-16 15:32 UTC
rendered paste body
<?php
putenv('TZ=EST5EDT');
echo date('r', strtotime('20070311 0100 + 1 hour')) . " - Should be 3am\n";
echo date('r', strtotime('20070401 0100 + 1 hour')) . " - Should be 2am\n";
?>