note 94360 deleted from datetime.gettimestamp by danielc

From: Date: Sun, 25 Apr 2010 17:36:20 +0000
Subject: note 94360 deleted from datetime.gettimestamp by danielc
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-168626@lists.php.net to get a copy of this message
Note Submitter: aharvey at php dot net ---- The functionality of getTimestamp() can be emulated in PHP 5.2 with the format() method: <?php // Given a DateTime object $dateTime: $timestamp = $dateTime->format('U'); ?>

« previous php.notes (#168626) next »