From Joomla! Documentation

Revision as of 17:25, 22 March 2010 by Doxiki (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

[Edit Descripton] Description:JDate

Defined in



Method name Description
__construct Creates a new instance of JDate representing a given date.
setOffset Set the date offset (in hours)
getOffset Get the date offset (in hours)
toRFC822 Gets the date as an RFC 822 date.
toISO8601 Gets the date as an ISO 8601 date.
toMySQL Gets the date as in MySQL datetime format
toUnix Gets the date as UNIX time stamp.
toFormat Gets the date in a specific format


jimport( '' );

[Edit See Also] SeeAlso:JDate


<CodeExamplesForm />