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
在此处查看所有有效格式。