希望标题不会太晦涩。我有一个包含DATETIME对象的数组,现在我只是想知道如何将其输出到页面上。
["created"]=> object(DateTime)#3 (3) { ["date"]=> string(19) "2010-10-22 00:00:00" ["timezone_type"]=> int(3) ["timezone"]=> string(13) "Europe/London"
有人能帮我解决吗?
尝试使用date()函数但出现以下错误:
Warning: date() expects parameter 2 to be long, object given in C:\
非常感谢任何帮助,
Jonesy