JDate/1.5

From Joomla! Documentation
< JDate
Revision as of 18:07, 25 April 2011 by Doxiki2 (Talk | contribs)

Jump to: navigation, search

Joomla 1.5 JDate

Description

Description:JDate [Edit Descripton]

Methods

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

Importing

jimport( 'joomla.utilities.date' );

See also

SeeAlso:JDate [Edit See Also]

User contributed notes

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox