Hello,
I tried to use this :
$date = FROM_UNIXTIME($phpdate);
ANd I was told that FROM_UNIXTIME() is an 'unidentified function'.
Any ideas why this might be? I've used it before with no problems.
I am using PHP 5.3.0.
take care,
lee
FROM_UNIXTIME($phpdate);
Moderator: General Moderators
Re: FROM_UNIXTIME($phpdate);
FROM_UNIXTIME() is a MySQL function, not PHP.kleelof wrote:Hello,
I tried to use this :
$date = FROM_UNIXTIME($phpdate);
ANd I was told that FROM_UNIXTIME() is an 'unidentified function'.
Any ideas why this might be? I've used it before with no problems.
I am using PHP 5.3.0.
take care,
lee
For converting a UNIX timestamp into a human-readable date, see http://www.php.net/date/