JDate::toFormat
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JDate::toFormat[edit]
Description[edit]
Gets the date in a specific format.
Template:Description:JDate::toFormat [Edit Descripton]
Synopsis[edit]
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[edit]
Defined in[edit]
libraries/joomla/utilities/date.php (line 418)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JDate::toFormat
Examples[edit]
<CodeExamplesForm />