<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://docs.joomla.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://docs.joomla.org/index.php?title=API16:JDate&amp;feed=atom&amp;action=history</id>
		<title>API16:JDate - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://docs.joomla.org/index.php?title=API16:JDate&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://docs.joomla.org/index.php?title=API16:JDate&amp;action=history"/>
		<updated>2013-05-26T00:22:28Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.3</generator>

	<entry>
		<id>http://docs.joomla.org/index.php?title=API16:JDate&amp;diff=25729&amp;oldid=prev</id>
		<title>Doxiki: New page: &lt;span class=&quot;editsection&quot; style=&quot;font-size:76%;&quot;&gt; 	&lt;nowiki&gt;[&lt;/nowiki&gt;Edit Descripton&lt;nowiki&gt;]&lt;/nowiki&gt; &lt;/span&gt; {{Description:JDate}}  ===Defined in=== libraries...</title>
		<link rel="alternate" type="text/html" href="http://docs.joomla.org/index.php?title=API16:JDate&amp;diff=25729&amp;oldid=prev"/>
				<updated>2010-03-22T22:55:38Z</updated>
		
		<summary type="html">&lt;p&gt;New page: &amp;lt;span class=&amp;quot;editsection&amp;quot; style=&amp;quot;font-size:76%;&amp;quot;&amp;gt; 	&amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;&lt;a href=&quot;/index.php?title=Description:JDate&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Description:JDate (page does not exist)&quot;&gt;Edit Descripton&lt;/a&gt;&amp;lt;nowiki&amp;gt;]&amp;lt;/nowiki&amp;gt; &amp;lt;/span&amp;gt; {{Description:JDate}}  ===Defined in=== libraries...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;span class=&amp;quot;editsection&amp;quot; style=&amp;quot;font-size:76%;&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;[[Description:JDate|Edit Descripton]]&amp;lt;nowiki&amp;gt;]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
{{Description:JDate}}&lt;br /&gt;
&lt;br /&gt;
===Defined in===&lt;br /&gt;
libraries/joomla/utilities/date.php&lt;br /&gt;
===Methods===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Method name&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|[[API16:JDate/__construct|__construct]]&lt;br /&gt;
|Constructor.&lt;br /&gt;
|-&lt;br /&gt;
|[[API16:JDate/__toString|__toString]]&lt;br /&gt;
|Magic method to render the date object in the format specified in the public static member JDate::$format.&lt;br /&gt;
|-&lt;br /&gt;
|[[API16:JDate/getOffsetFromGMT|getOffsetFromGMT]]&lt;br /&gt;
|Get the time offset from GMT in hours or seconds.&lt;br /&gt;
|-&lt;br /&gt;
|[[API16:JDate/format|format]]&lt;br /&gt;
|Gets the date as a formatted string.&lt;br /&gt;
|-&lt;br /&gt;
|[[API16:JDate/toRFC822|toRFC822]]&lt;br /&gt;
|Gets the date as an RFC 822 string. IETF RFC 2822 supercedes RFC 822 and its definition can be found at the IETF Web site.&lt;br /&gt;
|-&lt;br /&gt;
|[[API16:JDate/toISO8601|toISO8601]]&lt;br /&gt;
|Gets the date as an ISO 8601 string. IETF RFC 3339 defines the ISO 8601 format and it can be found at the IETF Web site.&lt;br /&gt;
|-&lt;br /&gt;
|[[API16:JDate/toMySQL|toMySQL]]&lt;br /&gt;
|Gets the date as an MySQL datetime string.&lt;br /&gt;
|-&lt;br /&gt;
|[[API16:JDate/toUnix|toUnix]]&lt;br /&gt;
|Gets the date as UNIX time stamp.&lt;br /&gt;
|-&lt;br /&gt;
|[[API16:JDate/setTimezone|setTimezone]]&lt;br /&gt;
|Method to wrap the setTimezone() function and set the internal time zone object.&lt;br /&gt;
|-&lt;br /&gt;
|[[API16:JDate/setOffset|setOffset]]&lt;br /&gt;
|Set the date offset (in hours).&lt;br /&gt;
|-&lt;br /&gt;
|[[API16:JDate/toFormat|toFormat]]&lt;br /&gt;
|Gets the date in a specific format&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Importing===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;jimport( 'joomla.utilities.date' );&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;editsection&amp;quot; style=&amp;quot;font-size:76%;&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;[[SeeAlso:JDate|Edit See Also]]&amp;lt;nowiki&amp;gt;]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
{{SeeAlso:JDate}}&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
&amp;lt;CodeExamplesForm /&amp;gt;&lt;br /&gt;
&amp;lt;dpl&amp;gt;&lt;br /&gt;
 noresultsheader=\n&lt;br /&gt;
 category=JDate&lt;br /&gt;
 category=CodeExample&lt;br /&gt;
 category=ClassExample&lt;br /&gt;
 include=*&lt;br /&gt;
 format= ,,,&lt;br /&gt;
&amp;lt;/dpl&amp;gt;&lt;/div&gt;</summary>
		<author><name>Doxiki</name></author>	</entry>

	</feed>