API17

JDate::toFormat

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

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


User contributed notes

Code Examples


Advertisement