API17:JDate::toUnix
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
| (One intermediate revision by one user not shown) | |||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JDate::toUnix|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JDate::toUnix|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public function toUnix () |
</source> | </source> | ||
| − | + | * '''Returns''' integer The date as a UNIX timestamp. | |
| − | integer The date as a UNIX timestamp. | + | * '''Defined''' on line 502 of libraries/joomla/utilities/date.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/utilities/date.php | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JDate::toUnix source code''' on [[jplatform:utilities/date.php#cl-494|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JDate/11.1|JDate]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Utilities/11.1|Utilities]] | ||
| + | * [[JDate::toUnix|Other versions of JDate::toUnix]] | ||
| + | {{SeeAlso:JDate::toUnix}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JDate::toUnix|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JDate::toUnix|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 34: | Line 31: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JDate]][[Category:JDate::toUnix]]</noinclude> | <noinclude>[[Category:JDate]][[Category:JDate::toUnix]]</noinclude> | ||
Revision as of 20:45, 27 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JDate::toUnix
Description
Gets the date as UNIX time stamp.
Description:JDate::toUnix [Edit Descripton]
public function toUnix ()
- Returns integer The date as a UNIX timestamp.
- Defined on line 502 of libraries/joomla/utilities/date.php
- Since
See also
-
JDate::toUnix source code on BitBucket
-
Class JDate
-
Subpackage Utilities
- Other versions of JDate::toUnix
SeeAlso:JDate::toUnix [Edit See Also]
User contributed notes
<CodeExamplesForm />
