format()
format(string $format) : string
Format the time in a custom way.
Parameters
string |
$format |
The custom format to use. %h, %m, %s are available,
and uppercase versions (%H, %M, %S) ensure a leading zero is present for single digit values |
Returns
string