|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-01-16 13:24 UTC] derick@php.net
[2003-01-16 13:35 UTC] alex at gameone dot nl
[2003-01-16 15:20 UTC] tularis@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 07 01:00:01 2025 UTC |
gmtime sometimes doesn't support the first argument to be an var. Example: <?php $var = "D m M, G:i"; // Plus 3600 for Dutch-time print gmdate($var, time() + 3600); ?> Gives at this moment: Thu 01 Jan, 20:17 -------------------------------- <?php // Plus 3600 for Dutch-time print gmdate("D m M, G:i", time() + 3600); ?> Gives: Thu 16 Jan, 20:17