API17

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.  


{{subst:Description:JDate::toUnix}}
 


<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]]
{{subst:SeeAlso:JDate::toUnix}}
 


===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JDate::toUnix
category=JDate::toUnix
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*

Latest revision as of 02:51, 25 March 2017

Joomla 11.1 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 Joomla 11.1

See also


User contributed notes

Code Examples