これからは
echo strftime("%Y年%m月%d日");
を使うことにする