Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
mysqlから入手しまし2012-11 05-05 12:39:1たが、使用date('n-Y', strtotime(2012-1105-05 12:39:1));した場合は表示されます1-1970
2012-11 05-05 12:39:1
date('n-Y', strtotime(2012-1105-05 12:39:1));
1-1970
何が問題なのか
その場合、それはおそらく有効な形式ではありません。
2012-1105-05 ^ ?? - what notation is this
すべての有効な形式はこちらで確認できます。