API17

API17:JDate::toFormat

From Joomla! Documentation

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