标签: php datetime
可能重复: Is it possible to get UNIX time from such date 2011-02-27 02:04:46?
如何将2011-05-04 10:35:57之类的PHP时间戳转换为Unix纪元时间(以秒为单位)?
2011-05-04 10:35:57
答案 0 :(得分:3)
strtotime("2011-05-04 10:35:57")