RE: [PHP4BETA] problem with date() function
| From: | Tilfried Weissenberger | Date: | Sun, 26 Dec 1999 15:20:53 +0000 |
| Subject: | RE: [PHP4BETA] problem with date() function | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-8514@lists.php.net to get a copy of this message | ||
Ah, thanks.
Seems to work with that. Do I use microtime() under PHP to get a timestamp?
thanks, tilli
> -----Original Message-----
> From: rasmus@php.net [mailto:rasmus@php.net]
> Sent: Sunday, December 26, 1999 4:13 PM
> To: Tilfried Weissenberger
> Cc: Php4
> Subject: Re: [PHP4BETA] problem with date() function
>
>
> > I can only pass a numeric value as the second parameter to
> date. But when I
> > get a datetime or timestamp field from a database (mysql), I
> cannot format
> > it via date. Is there a way to either turn a date-expression
> into the needed
> > numeric value or a function which can parse this expression?
>
>
> http://www.mysql.com/Manual_chapter/manual_Reference.html#Date_and
> _time_functions