How to fix mysql2date() for 5.3.2 version?

The problem came from the function time() as paramater so I had to change the code line by :

$today = date("Y-m-d H:i:s");
$dateFacture = mysql2date('j F Y', $today );

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)