PhpSpreadsheet/tests/rawTestData/Shared/DateTimeExcelToPHP1900.data
Adrien Crivelli 00657c906e
Reorganize unit tests
All code for unit tests is now under the `PhpSpreadsheet\Tests` namespace
which is autoloaded via composer mechanism. So there is no need for
`require()` anymore.

Also, tests were moved in `tests/` folder and phpunit should be executed from
the project root folder. This is to conform to the de facto standard, notably
in use in phpunit itself.
2016-08-14 02:29:33 +09:00

16 lines
658 B
Plaintext

#Excel DateTimeStamp Result Comments
714, -2147472000 // PHP 32-bit Earliest Date 14-Dec-1901
1461, -2082931200 // 31-Dec-1903
1462, -2082844800 // Excel 1904 Calendar Base Date 01-Jan-1904
1463, -2082758400 // 02-Jan-1904
22269, -285120000 // 19-Dec-1960
25569, 0 // PHP Base Date 01-Jan-1970
30292, 408067200 // 07-Dec-1982
39611, 1213228800 // 12-Jun-2008
50424, 2147472000 // PHP 32-bit Latest Date 19-Jan-2038
1234.56789, -2102494934 // 18-May-1903 13:37:46
12345.6789, -1142494943 // 18-Oct-1933 16:17:37
0.5, 43200 // 12:00:00
0.75, 64800 // 18:00.00
0.12345, 10666 // 02:57:46