<!DOCTYPE html>
<html>
<body>

<?php
print_r(localtime());
echo "<br><br>";
print_r(localtime(time(),true));
?>

</body>
</html>