PhpSpreadsheet/tests/data/Calculation/DateTime/DAY.php

21 lines
369 B
PHP

<?php
// Excel Result, Argument
return [
[19, '22269'],
[1, '30348'],
[10, '30843'],
[11, '"11-Nov-1918"'],
[28, '"28-Feb-1904"'],
['#VALUE!', '"Invalid"'],
// The following will all differ between Excel and OpenOffice
['#NUM!', '-1'],
[1, '1'],
[0, '0.5'],
[0, '0'],
[0, 'Q15'],
[1, 'true'],
[0, 'false'],
];