thinkphp模板中对时间戳的转换

在thinkphp中前台静态html文件需要解析一个时间戳。则需要转换成时间段。

{$vo.create_time|date=’Y-m-d H:i:s’,###}

这样就可以把一个时间戳转换成我们熟悉的时间段了。

prolove 的头像

发表回复

  • b853

  • 9388

  • bc41

  • 0128

  • e36e

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Insert the contact form shortcode with the additional CSS class- "bloghoot-newsletter-section"

By signing up, you agree to the our terms and our Privacy Policy agreement.