Home > Backend Development > PHP Tutorial > Typecho怎么获取文章最后的更新时间

Typecho怎么获取文章最后的更新时间

WBOY
Release: 2016-06-06 20:14:18
Original
2560 people have browsed it

Typecho的主题开发,想获取文章的最后更新的时间

怎么实现?

获取发布时间的是 <?php $this->date('F jS , Y'); ?>

那么获取更新时间的是?

回复内容:

Typecho的主题开发,想获取文章的最后更新的时间

怎么实现?

获取发布时间的是 <?php $this->date('F jS , Y'); ?>

那么获取更新时间的是?

<code><?php echo date('Y 年 m 月 d 日', $this->modified);?></code>
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template