API17:JArchiveZip:: unix2DOSTime
From Joomla! Documentation
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.
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
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
Referenced by
See also
SeeAlso:JArchiveZip:: unix2DOSTime
Examples
<CodeExamplesForm />
