RE: [PHP] Date and Time
| From: | John Holmes | Date: | Mon, 29 Apr 2002 05:17:16 +0000 |
| Subject: | RE: [PHP] Date and Time | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-95056@lists.php.net to get a copy of this message | ||
What version of PHP, OS, web server, etc are you running? Is that the
exact code you used? Did you try it in a file all by itself and did it
return the same result?
---John Holmes...
> -----Original Message-----
> From: baldey_uk [mailto:baldey_uk@SoftHome.net]
> Sent: Sunday, April 28, 2002 6:22 PM
> To: Php-General
> Subject: [PHP] Date and Time
>
> Hi all,
>
> Anyone know any reason that the date function would return 2am in the
> morning as 102 if i use it in the following manner?
>
> $time=date("H:i:s");
> print $time;
>
>
> this outputs 102:14:51 instead of 02:14:51, anyone know where the 1
comes
> from? and why its there?
>
>
> Cheers From
>
> baldey_uk
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php