Actions

API17

Difference between revisions of "JArchiveZip:: unix2DOSTime"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JArchiveZip::_unix2DOSTime|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JArchiveZip::_unix2DOSTime|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
protected JArchiveZip::_unix2DOSTime ($unixtime=null)
+
protected function _unix2DOSTime ($unixtime=null)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 27: Line 24:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' int The current date in a 4-byte DOS format.
int The current date in a 4-byte DOS format.
+
* '''Defined''' on line 420 of libraries/joomla/filesystem/archive/zip.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/filesystem/archive/zip.php (line 420)
+
* see source code in [[jplatform:filesystem/archive/zip.php#cl-420|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JArchiveZip::_unix2DOSTime source code''' on [[jplatform:filesystem/archive/zip.php#cl-412|BitBucket]]
 +
* {{JVer|11.1}} Class [[JArchiveZip/11.1|JArchiveZip]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Filesystem/11.1|Filesystem]]
 +
* [[JArchiveZip::_unix2DOSTime|Other versions of JArchiveZip::_unix2DOSTime]]
 +
{{SeeAlso:JArchiveZip::_unix2DOSTime}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JArchiveZip::_unix2DOSTime|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JArchiveZip::_unix2DOSTime|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JArchiveZip/11.1|JArchiveZip]]
+
===User contributed notes===
* [[JArchiveZip::_unix2DOSTime|Other versions of this method]]
+
{{SeeAlso:JArchiveZip::_unix2DOSTime}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 48: Line 44:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JArchiveZip]][[Category:JArchiveZip::_unix2DOSTime]]</noinclude>
 
<noinclude>[[Category:JArchiveZip]][[Category:JArchiveZip::_unix2DOSTime]]</noinclude>

Revision as of 19:10, 27 April 2011

Replacement filing cabinet.png
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.

Joomla 11.1 JArchiveZip::_unix2DOSTime

Description

Converts a UNIX timestamp to a 4-byte DOS date and time format (date in high 2-bytes, time in low 2-bytes allowing magnitude comparison).

Description:JArchiveZip:: unix2DOSTime [Edit Descripton]

protected function _unix2DOSTime ($unixtime=null)
Parameter Type Default Description
$unixtime int null The current UNIX timestamp.
  • Returns int The current date in a 4-byte DOS format.
  • Defined on line 420 of libraries/joomla/filesystem/archive/zip.php
  • Since Joomla 11.1

See also

SeeAlso:JArchiveZip:: unix2DOSTime [Edit See Also]

User contributed notes

<CodeExamplesForm />