JDate::toUnix: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
Gets the date as UNIX time stamp. | Gets the date as UNIX time stamp. | ||
<source lang="php"> | <source lang="php"> | ||
| Line 17: | Line 17: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Utilities|Utilities]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Utilities|Utilities]] | ||
* [[API17:JDate::toUnix|Other versions of JDate::toUnix]] | * [[API17:JDate::toUnix|Other versions of JDate::toUnix]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDate::toUnix | category=JDate::toUnix | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 02:51, 25 March 2017
JDate::toUnix
Description
Gets the date as UNIX time stamp.
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
User contributed notes
Code Examples