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
Description
Gets the date in a specific format.
public function 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 on line 417 of libraries/joomla/utilities/date.php
See also
JDate::toFormat source code on BitBucket
Class JDate
Subpackage Utilities
- Other versions of JDate::toFormat