JDate::format
The format string to be applied when using the __toString() magic method.
Signature
public function format(string
$format,
[boolean
$local = false,
[boolean
$translate = true]] )
Parameters
-
$format
- The date format specification string (see {@link PHP_MANUAL#date})
-
$local
- True to return the date string in the local time zone, false to return it in GMT.
-
$translate
- True to translate localised strings
Returns
- string
- The date string in the specified format format.
Defined by Interface
DateTimeInterface
Parent Implementation