OOPS!!! [PHP] Date/Time problem
| From: | Sparky Kopetzky | Date: | Fri, 27 Jun 2003 17:09:36 +0000 |
| Subject: | OOPS!!! [PHP] Date/Time problem | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-153175@lists.php.net to get a copy of this message | ||
Opps! I meant strftime() as I have to pass timestamp from a file.
Sparky
----- Original Message -----
From: "Adam Voigt" <adam@cryptocomm.com>
To: "Sparky Kopetzky" <sparkyk@blackmesa-isp.net>
Cc: "PHP General" <php-general@lists.php.net>
Sent: Friday, June 27, 2003 11:07
Subject: Re: [PHP] Date/Time problem
> echo(date('T'));
>
> Works fine for me.
>
>
> On Fri, 2003-06-27 at 13:03, Sparky Kopetzky wrote:
> > Well, I got the time displaying sort of right but have a length problem.
See, using %T doesn't work in date() but %Z does but it returns a very long
string 'Mountain Daylight Time' when all I want is 'MDT'. Is there a way
around this problem other than having to edit the string date() returns??
> >
> > Robin E. Kopetzky
> > Black Mesa Computers/Internet Services
> > www.blackmesa-isp.net
> --
> Adam Voigt (adam@cryptocomm.com)
> Linux/Unix Network Administrator
> The Cryptocomm Group
>