php4-beta | 199912
Date: 12/26/99
- Next message: Khimenko Victor: "Re: [PHP4BETA] problem with date() function"
- Previous message: rasmus <email protected>: "RE: [PHP4BETA] problem with date() function"
- In reply to: Tilfried Weissenberger: "[PHP4BETA] problem with date() function"
- Next in thread: Khimenko Victor: "Re: [PHP4BETA] problem with date() function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 03:05 PM 12/26/99 +0100, Tilfried Weissenberger wrote:
>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?
There is an undocumented strtodate() function.
-Andrei
-- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe <email protected> For additional commands, e-mail: php4beta-help <email protected> To contact the list administrators, e-mail: php4beta-admin <email protected>
- Next message: Khimenko Victor: "Re: [PHP4BETA] problem with date() function"
- Previous message: rasmus <email protected>: "RE: [PHP4BETA] problem with date() function"
- In reply to: Tilfried Weissenberger: "[PHP4BETA] problem with date() function"
- Next in thread: Khimenko Victor: "Re: [PHP4BETA] problem with date() function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

