API17

JDate::toFormat

From Joomla! Documentation

Revision as of 20:19, 23 April 2011 by Doxiki2 (talk | contribs) (Layout updates)

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.

Joomla 11.1 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)

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JDate::toFormat

Examples[edit]

<CodeExamplesForm />