note 30972 deleted from function.date by sniper
| From: | sniper@php.net | Date: | Sat, 11 Oct 2003 16:53:26 +0000 |
| Subject: | note 30972 deleted from function.date by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-58286@lists.php.net to get a copy of this message | ||
Note Submitter: simms
----
check out this nifty way of obtaining the current UTC time based on your own system's time
setting:
echo( date( "D d-M-Y H:i:s", ( date( "U" ) - date( "Z" ) ) ) );
this works assuming your system's clock and timezone setting are correct (tested on debian
linux).