WORKDAY.php 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <?php
  2. return [
  3. [
  4. '#VALUE!',
  5. '1-Jan-2007',
  6. 'ABC',
  7. ],
  8. [
  9. 39094,
  10. '1-Jan-2007',
  11. 9,
  12. ],
  13. [
  14. 39619,
  15. '18-Jun-2008',
  16. 2,
  17. ],
  18. [
  19. 39619,
  20. '16-Jun-2008',
  21. 4,
  22. ],
  23. [
  24. 39622,
  25. '14-Jun-2008',
  26. 6,
  27. ],
  28. [
  29. 39629,
  30. '14-Jun-2008',
  31. 11,
  32. ],
  33. [
  34. 39611,
  35. '14-Jun-2008',
  36. -2,
  37. ],
  38. [
  39. 39605,
  40. '14-Jun-2008',
  41. -6,
  42. ],
  43. [
  44. 39815,
  45. '19-Dec-2008',
  46. 10,
  47. ],
  48. [
  49. 39820,
  50. '19-Dec-2008',
  51. 10,
  52. [
  53. '25-Dec-2008',
  54. '26-Dec-2008',
  55. '01-Jan-2009',
  56. ],
  57. ],
  58. [
  59. 39820,
  60. '19-Dec-2008',
  61. 10,
  62. [
  63. [
  64. '25-Dec-2008',
  65. '26-Dec-2008',
  66. '01-Jan-2009',
  67. ],
  68. ],
  69. ],
  70. [
  71. 39801,
  72. 39820,
  73. -10,
  74. [
  75. [
  76. '25-Dec-2008',
  77. '26-Dec-2008',
  78. '01-Jan-2009',
  79. ],
  80. ],
  81. ],
  82. [
  83. 41011, // this had been 41010, which is wrong - confirmed with Excel
  84. '5-Apr-2012',
  85. 3,
  86. [
  87. [
  88. '6-Apr-2012',
  89. '9-Apr-2012',
  90. ],
  91. ],
  92. ],
  93. [
  94. 44242,
  95. '15-Feb-2021',
  96. 0,
  97. ],
  98. [
  99. '#VALUE!',
  100. '5-Apr-2012',
  101. 3,
  102. [
  103. [
  104. '6-Apr-2012',
  105. 'ABQZ',
  106. ],
  107. ],
  108. ],
  109. [39598, '2008-06-12', -9],
  110. [44273, '2021-03-15', 3], // issue 1936 Monday
  111. [44274, '2021-03-16', 3], // issue 1936 Tuesday
  112. [44277, '2021-03-17', 3], // issue 1936 Wednesday
  113. [44278, '2021-03-18', 3], // issue 1936 Thursday
  114. [44279, '2021-03-19', 3], // issue 1936 Friday
  115. [44279, '2021-03-20', 3], // issue 1936 Saturday
  116. [44279, '2021-03-21', 3], // issue 1936 Sunday
  117. [44276, '2021-03-21', 0], // issue 1936 Sunday doesn't change for 0
  118. [44258, '2021-03-15', -8], // issue 1936 Monday
  119. [44259, '2021-03-16', -8], // issue 1936 Tuesday
  120. [44260, '2021-03-17', -8], // issue 1936 Wednesday
  121. [44263, '2021-03-18', -8], // issue 1936 Thursday
  122. [44264, '2021-03-19', -8], // issue 1936 Friday
  123. [44265, '2021-03-20', -8], // issue 1936 Saturday
  124. [44265, '2021-03-21', -8], // issue 1936 Sunday
  125. ['exception', '2000-01-01', 'omitted'],
  126. ['exception', 'omitted'],
  127. ];