note 43323 deleted from function.gmmktime by danbrown

From: Date: Sun, 20 Jul 2008 03:20:24 +0000
Subject: note 43323 deleted from function.gmmktime by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-142053@lists.php.net to get a copy of this message
Note Submitter: francois at bonzon dot com ---- A simpler way to get a GMT date into a UNIX timestamp is to use the strtotime() function. <?php // Prints: 1076705142 $gmstr = 'Fri, 13 Feb 2004 20:45:42 GMT'; echo strtotime($gmstr); ?>

« previous php.notes (#142053) next »