API15:JDate

出典: Joomla! ドキュメンテーション

[Edit Descripton]



目次

Defined in

libraries/joomla/utilities/date.php

Methods

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

Importing

jimport( 'joomla.utilities.date' );

[Edit See Also]



Examples

<CodeExamplesForm />



自動更新 2012/05/24 00:57:16