Re: default time

From: Date: Wed, 25 Jun 2003 14:44:18 +0000
Subject: Re: default time
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-152776@lists.php.net to get a copy of this message
Read the manual page for the date tag: http://us2.php.net/date On Wed, 2003-06-25 at 10:28, Gary Ogilvie wrote: > 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 -- Adam Voigt (adam@cryptocomm.com) Linux/Unix Network Administrator The Cryptocomm Group

« previous php.general (#152776) next »