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