RE: [PHP] default time (Solved)

2003-06-25 Thread Gary Ogilvie
Thanks a lot - I never realised you had to use the date() function to get the time! -Original Message- From: Adam Voigt [mailto:[EMAIL PROTECTED] Sent: 25 June 2003 15:44 To: Gary Ogilvie Cc: [EMAIL PROTECTED] Subject: Re: [PHP] default time Read the manual page for the date tag: http

Re: [PHP] default time

2003-06-25 Thread David Nicholson
Hello, This is a reply to an e-mail that you wrote on Wed, 25 Jun 2003 at 15:30, lines prefixed by '>' were originally written by you. > 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

Re: [PHP] default time

2003-06-25 Thread Adam Voigt
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

[PHP] default time

2003-06-25 Thread Gary Ogilvie
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 --