Re: [PHP4BETA] problem with date() function

From: Date: Sun, 26 Dec 1999 17:26:22 +0000
Subject: Re: [PHP4BETA] problem with date() function
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-8517@lists.php.net to get a copy of this message
26-Dec-99 15:05 you 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? In case of mysql you can ask MySQL to do work via unix_timestamp() function and it'll be faster ...

« previous php.version4 (#8517) next »