Format a date/time
| Parameters | |||
|---|---|---|---|
string|int
|
$dateTime = '' |
A date/time to be formatted |
# |
string
|
$format = '' |
The date/time format; The config variable will be used if it is not passed |
# |
| Returns | |
|---|---|
string
|
The formatted date/time |