default time
| From: | Gary Ogilvie | Date: | Wed, 25 Jun 2003 14:28:15 +0000 |
| Subject: | default time | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-152774@lists.php.net to get a copy of this message | ||
Hi everyone, I want to assign the current time to a variable. Currently
I am using:
$myTime = time()
But this displays the time as:
1056551047 when it is in fact 15:25
How do I get the proper format for time? I looked on the web site but
couldn't understand any of it :(
Thanks in advance