Make a good string from the unix timestamp $sec
static public timestampToString ( $time, $display_sec = true, $use_days = true ) : string | ||
$time | integer timestamp | |
$display_sec | boolean display seconds ? (true by default) | |
$use_days | boolean use days for display ? (true by default) | |
Résultat | string |