JDate/1.5

From Joomla! Documentation
< JDate
Revision as of 04:39, 19 April 2011 by Chris Davenport (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

[Edit Descripton] Description:JDate

Defined in

libraries/joomla/utilities/date.php

Subpackage

Utilities

Extends

JObject

Extended by

Methods

Method name Description
__construct Creates a new instance of representing a given date.
_dayToString Translates day of week number to string.
_monthToString Translates month number to string.
_strftime Translates needed strings in for (see ).
getOffset Get the date offset (in hours).
setOffset Set the date offset (in hours).
toFormat Gets the date in a specific format.
toISO8601 Gets the date as an ISO 8601 date.
toMySQL Gets the date as in MySQL datetime format.
toRFC822 Gets the date as an RFC 822 date.
toUnix Gets the date as UNIX time stamp.

Importing

jimport( 'joomla.utilities.date' );

See also

[Edit See Also] SeeAlso:JDate

Examples

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox