JDate::calendar
Gets the date as a formatted string in a local calendar.
Signature
public function calendar(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.