API17

API17:JArchiveZip:: unix2DOSTime

From Joomla! Documentation

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).


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


User contributed notes

Code Examples