JArchiveZip:: unix2DOSTime
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JArchiveZip::_unix2DOSTime[edit]
Description[edit]
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).
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
See also[edit]
- JArchiveZip::_unix2DOSTime source code on BitBucket
- Class JArchiveZip
- Subpackage Filesystem
- Other versions of JArchiveZip::_unix2DOSTime
User contributed notes[edit]
Code Examples[edit]