DATEVALUE

12:44:51 Converts a date in the form of text to a serial number.
12:44:51 Warning: The PhpSpreadsheet DATEVALUE() function accepts a wider range of date formats than MS Excel DATEFORMAT() function.
12:44:51 Date String: 26 March 2012
12:44:51 Formula: =DATEVALUE(A1)
12:44:51 Excel DateStamp: 40994

Deprecated: Use of "self" in callables is deprecated in /home/s/sunvito/holel-sea.ru/public_html/test/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat.php on line 479

Deprecated: Use of "self" in callables is deprecated in /home/s/sunvito/holel-sea.ru/public_html/test/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat.php on line 505
12:44:51 Formatted DateStamp2012-Mar-26
12:44:51
12:44:51 Date String: 29 Feb 2012
12:44:51 Formula: =DATEVALUE(A2)
12:44:51 Excel DateStamp: 40968

Deprecated: Use of "self" in callables is deprecated in /home/s/sunvito/holel-sea.ru/public_html/test/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat.php on line 479

Deprecated: Use of "self" in callables is deprecated in /home/s/sunvito/holel-sea.ru/public_html/test/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat.php on line 505
12:44:51 Formatted DateStamp2012-Feb-29
12:44:51
12:44:51 Date String: April 1, 2012
12:44:51 Formula: =DATEVALUE(A3)
12:44:51 Excel DateStamp: 41000

Deprecated: Use of "self" in callables is deprecated in /home/s/sunvito/holel-sea.ru/public_html/test/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat.php on line 479

Deprecated: Use of "self" in callables is deprecated in /home/s/sunvito/holel-sea.ru/public_html/test/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat.php on line 505
12:44:51 Formatted DateStamp2012-Apr-01
12:44:51
12:44:51 Date String: 25/12/2012
12:44:51 Formula: =DATEVALUE(A4)
12:44:51 Excel DateStamp: 41268

Deprecated: Use of "self" in callables is deprecated in /home/s/sunvito/holel-sea.ru/public_html/test/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat.php on line 479

Deprecated: Use of "self" in callables is deprecated in /home/s/sunvito/holel-sea.ru/public_html/test/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat.php on line 505
12:44:51 Formatted DateStamp2012-Dec-25
12:44:51
12:44:51 Date String: 2012-Oct-31
12:44:51 Formula: =DATEVALUE(A5)
12:44:51 Excel DateStamp: 41213

Deprecated: Use of "self" in callables is deprecated in /home/s/sunvito/holel-sea.ru/public_html/test/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat.php on line 479

Deprecated: Use of "self" in callables is deprecated in /home/s/sunvito/holel-sea.ru/public_html/test/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat.php on line 505
12:44:51 Formatted DateStamp2012-Oct-31
12:44:51
12:44:51 Date String: 5th November
12:44:51 Formula: =DATEVALUE(A6)

Fatal error: Uncaught TypeError: Unsupported operand types: string + int in /home/s/sunvito/holel-sea.ru/public_html/test/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTime.php:503 Stack trace: #0 [internal function]: PhpOffice\PhpSpreadsheet\Calculation\DateTime::DATEVALUE('5 November') #1 /home/s/sunvito/holel-sea.ru/public_html/test/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Calculation.php(4266): call_user_func_array(Array, Array) #2 /home/s/sunvito/holel-sea.ru/public_html/test/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Calculation.php(3026): PhpOffice\PhpSpreadsheet\Calculation\Calculation->processTokenStack(Array, 'B6', Object(PhpOffice\PhpSpreadsheet\Cell\Cell)) #3 /home/s/sunvito/holel-sea.ru/public_html/test/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Calculation.php(2815): PhpOffice\PhpSpreadsheet\Calculation\Calculation->_calculateFormulaValue('DATEVALUE(A6)', 'B6', Object(PhpOffice\PhpSpreadsheet\Cell\Cell)) #4 /home/s/sunvito/holel-sea.ru/public_html/test/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/Cell.php(265): PhpOffice\PhpSpreadsheet\Calculation\Calculation->calculateCellValue(Object(PhpOffice\PhpSpreadsheet\Cell\Cell), true) #5 /home/s/sunvito/holel-sea.ru/public_html/test/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/Cell.php(165): PhpOffice\PhpSpreadsheet\Cell\Cell->getCalculatedValue() #6 /home/s/sunvito/holel-sea.ru/public_html/test/phpspreadsheet/vendor/phpoffice/phpspreadsheet/samples/Calculations/DateTime/DATEVALUE.php(36): PhpOffice\PhpSpreadsheet\Cell\Cell->getFormattedValue() #7 {main} thrown in /home/s/sunvito/holel-sea.ru/public_html/test/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTime.php on line 503