API17:JDate::toFormat
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JDate::toFormat
Description
Gets the date in a specific format.
Description:JDate::toFormat [Edit Descripton]
Synopsis
public JDate::toFormat ($format= '%Y-%m-%d%H:%M:%S', $local=false)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $format | '%Y-%m-%d%H:%M:%S' | ||
| $local | false |
Returns
Defined in
libraries/joomla/utilities/date.php (line 418)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
