Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php declare(strict_types=1); // Excel DateTimeStamp Result Comments return..
Decoded Output download
<?php
declare(strict_types=1);
// Excel DateTimeStamp Result Comments
return [
// PHP 32-bit Earliest Date 14-Dec-1901
[
-2147472000,
714,
],
// 31-Dec-1903
[
-2082931200,
1461,
],
// Excel 1904 Calendar Base Date 01-Jan-1904
[
-2082844800,
1462,
],
// 02-Jan-1904
[
-2082758400,
1463,
],
// 19-Dec-1960
[
-285120000,
22269,
],
// PHP Base Date 01-Jan-1970
[
0,
25569,
],
// 07-Dec-1982
[
408067200,
30292,
],
// 12-Jun-2008
[
1213228800,
39611,
],
// PHP 32-bit Latest Date 9-Jan-2038
[
2147472000,
50424,
],
// 18-May-1903 13:37:46
[
-2102494934,
1234.56789,
],
// 18-Oct-1933 16:17:37
[
-1142494943,
12345.6789,
],
// 12:00:00
[
43200,
0.5,
],
// 18:00.00
[
64800,
0.75,
],
// 02:57:46
[
10666,
0.12345,
],
// 29-Apr-2038 00:00:00 beyond PHP 32-bit Latest Date
[
2156112000,
50524,
],
[-2147483648, -2147483648 / 86400], // Okay on 64- and 32-bit systems
[-2147483649, -2147483649 / 86400], // Skipped test on 32-bit
];
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
// Excel DateTimeStamp Result Comments
return [
// PHP 32-bit Earliest Date 14-Dec-1901
[
-2147472000,
714,
],
// 31-Dec-1903
[
-2082931200,
1461,
],
// Excel 1904 Calendar Base Date 01-Jan-1904
[
-2082844800,
1462,
],
// 02-Jan-1904
[
-2082758400,
1463,
],
// 19-Dec-1960
[
-285120000,
22269,
],
// PHP Base Date 01-Jan-1970
[
0,
25569,
],
// 07-Dec-1982
[
408067200,
30292,
],
// 12-Jun-2008
[
1213228800,
39611,
],
// PHP 32-bit Latest Date 9-Jan-2038
[
2147472000,
50424,
],
// 18-May-1903 13:37:46
[
-2102494934,
1234.56789,
],
// 18-Oct-1933 16:17:37
[
-1142494943,
12345.6789,
],
// 12:00:00
[
43200,
0.5,
],
// 18:00.00
[
64800,
0.75,
],
// 02:57:46
[
10666,
0.12345,
],
// 29-Apr-2038 00:00:00 beyond PHP 32-bit Latest Date
[
2156112000,
50524,
],
[-2147483648, -2147483648 / 86400], // Okay on 64- and 32-bit systems
[-2147483649, -2147483649 / 86400], // Skipped test on 32-bit
];
Function Calls
None |
Stats
MD5 | f3383c160cf41a5c9be30a12ac3bdaa6 |
Eval Count | 0 |
Decode Time | 98 ms |