@@ 855-864 (lines=10) @@ | ||
852 | ++$dataSection_NumProps; |
|
853 | } |
|
854 | // Created Date/Time |
|
855 | if ($this->spreadsheet->getProperties()->getCreated()) { |
|
856 | $dataProp = $this->spreadsheet->getProperties()->getCreated(); |
|
857 | $dataSection[] = [ |
|
858 | 'summary' => ['pack' => 'V', 'data' => 0x0C], |
|
859 | 'offset' => ['pack' => 'V'], |
|
860 | 'type' => ['pack' => 'V', 'data' => 0x40], // Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601) |
|
861 | 'data' => ['data' => \PhpOffice\PhpSpreadsheet\Shared\OLE::localDateToOLE($dataProp)], |
|
862 | ]; |
|
863 | ++$dataSection_NumProps; |
|
864 | } |
|
865 | // Modified Date/Time |
|
866 | if ($this->spreadsheet->getProperties()->getModified()) { |
|
867 | $dataProp = $this->spreadsheet->getProperties()->getModified(); |
|
@@ 866-875 (lines=10) @@ | ||
863 | ++$dataSection_NumProps; |
|
864 | } |
|
865 | // Modified Date/Time |
|
866 | if ($this->spreadsheet->getProperties()->getModified()) { |
|
867 | $dataProp = $this->spreadsheet->getProperties()->getModified(); |
|
868 | $dataSection[] = [ |
|
869 | 'summary' => ['pack' => 'V', 'data' => 0x0D], |
|
870 | 'offset' => ['pack' => 'V'], |
|
871 | 'type' => ['pack' => 'V', 'data' => 0x40], // Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601) |
|
872 | 'data' => ['data' => \PhpOffice\PhpSpreadsheet\Shared\OLE::localDateToOLE($dataProp)], |
|
873 | ]; |
|
874 | ++$dataSection_NumProps; |
|
875 | } |
|
876 | // Security |
|
877 | $dataSection[] = [ |
|
878 | 'summary' => ['pack' => 'V', 'data' => 0x13], |