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 | + | 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 19:55, 23 April 2011
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).
Template:Description:JArchiveZip:: unix2DOSTime [Edit Descripton]
Since[edit]
Synopsis[edit]
protected JArchiveZip::_unix2DOSTime ($unixtime=null)
Parameter | Type | Default | Description |
---|---|---|---|
$unixtime | int | null | The current UNIX timestamp. |
Returns[edit]
int The current date in a 4-byte DOS format.
Defined in[edit]
libraries/joomla/filesystem/archive/zip.php (line 420)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JArchiveZip:: unix2DOSTime
Examples[edit]
<CodeExamplesForm />