API17

Difference between revisions of "JDate::calendar"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (preparing for archive only)
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
Gets the date as a formatted string in a local calendar.  
 
Gets the date as a formatted string in a local calendar.  
  
{{Description:JDate::calendar}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JDate::calendar|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<source lang="php">
 
<source lang="php">
 
public function calendar (
 
public function calendar (
Line 37: Line 35:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JDate::calendar source code''' on [[jplatform:utilities/date.php#cl-269|BitBucket]]
 
* {{JVer|11.1}} '''JDate::calendar source code''' on [[jplatform:utilities/date.php#cl-269|BitBucket]]
* {{JVer|11.1}} Class [[JDate/11.1|JDate]]
+
* {{JVer|11.1}} Class [[API17:JDate|JDate]]
* {{JVer|11.1}} Subpackage [[Subpackage_Utilities/11.1|Utilities]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Utilities|Utilities]]
* [[JDate::calendar|Other versions of JDate::calendar]]
+
* [[API17:JDate::calendar|Other versions of JDate::calendar]]
{{SeeAlso:JDate::calendar}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JDate::calendar|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JDate::calendar
 
category=JDate::calendar
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
Line 55: Line 51:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JDate]][[Category:JDate::calendar]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 21:50, 24 March 2017

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JDate::calendar[edit]

Description[edit]

Gets the date as a formatted string in a local calendar.


public function calendar (
        $format
        $local=false
)
Parameter Type Default Description
$format string The date format specification string (see )
$local boolean false True to return the date string in the local time zone, false to return it in GMT.
  • Returns string The date string in the specified format format.
  • Defined on line 277 of libraries/joomla/utilities/date.php
  • Since Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]