Syntax Syntax
Parameters Parameters
- $lstring
-
(Required)
- $count
-
(Required)
Return Return
(string)
Source Source
File: wp-includes/ID3/module.audio-video.quicktime.php
// http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/Nikon.html#WorldTime // timezone is stored as offset from GMT in minutes $timezone = getid3_lib::BigEndian2Int(substr($data, 0, 2)); if ($timezone & 0x8000) { $timezone = 0 - (0x10000 - $timezone); } $timezone /= 60; $dst = (bool) getid3_lib::BigEndian2Int(substr($data, 2, 1)); switch (getid3_lib::BigEndian2Int(substr($data, 3, 1))) { case 2: $datedisplayformat = 'D/M/Y'; break; case 1: $datedisplayformat = 'M/D/Y'; break; case 0: default: $datedisplayformat = 'Y/M/D'; break; } $data = array('timezone'=>floatval($timezone), 'dst'=>$dst, 'display'=>$datedisplayformat); break; case 0x02000083: // LensType $data = array( //'_' => $data, 'mf' => (bool) ($data & 0x01), 'd' => (bool) ($data & 0x02), 'g' => (bool) ($data & 0x04), 'vr' => (bool) ($data & 0x08), );