[PHP-JS] Conversion fonction de temps PHP vers javascript

Version imprimable