|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-05-04 16:18 UTC] derick@php.net
[2003-05-05 01:35 UTC] rdzil at atlas dot cz
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 15:00:01 2025 UTC |
$test = "1048978801"; echo date('d.m.Y H:i:s',$test); // OUT: 30.03.2003 00:00:01 echo "<br>"; echo date('d.m.Y H:i:s',$test + (1*(60*60))); // $test+1 hour * OUT: 30.03.2003 01:00:01 echo "<br>"; echo date('d.m.Y H:i:s',$test + (2*(60*60))); // $test+2 hour - BAD * OUT: 30.03.2003 03:00:01