Actions

API17

Difference between revisions of "JArchiveZip:: unix2DOSTime"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 12: Line 12:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
protected JArchiveZip->_unix2DOSTime ($unixtime=null)
+
protected JArchiveZip::_unix2DOSTime ($unixtime=null)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 30: Line 30:
 
int The current date in a 4-byte DOS format.
 
int The current date in a 4-byte DOS format.
 
===Defined in===
 
===Defined in===
libraries/joomla/filesystem/archive/zip.php
+
libraries/joomla/filesystem/archive/zip.php (line 420)
 +
* see source code in [[jplatform:filesystem/archive/zip.php#cl-420|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 18:55, 23 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]

Since

Joomla 11.1

Synopsis

protected JArchiveZip::_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 in

libraries/joomla/filesystem/archive/zip.php (line 420)

Referenced by

See also

[Edit See Also]

SeeAlso:JArchiveZip:: unix2DOSTime

Examples

<CodeExamplesForm />