PHP PHPのdateでYとoを間違えると年末年始の週番号が1年ズレる Bynori 11月 2, 2026 PHPのdate()やDateTime::format()で週番号を扱うときは、年に「Y」ではなく「o」(IS…