Title: Date Tool
Author: gordi555
Published: <strong>2013 年 6 月 27 日</strong>
Last modified: 2014 年 8 月 10 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/date-tool.svg)

# Date Tool

 作者：[gordi555](https://profiles.wordpress.org/gordi555/)

[下载](https://downloads.wordpress.org/plugin/date-tool.zip)

 * [详情](https://cn.wordpress.org/plugins/date-tool/#description)
 * [评价](https://cn.wordpress.org/plugins/date-tool/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/date-tool/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/date-tool/#developers)

 [支持](https://wordpress.org/support/plugin/date-tool/)

## 描述

This simple plugin makes it possible to insert the current date, time or date & 
time related information into your website. This is very handy if you are manually
updating the date & time information and want to do this automatically in the future.

PLEASE Link to my website if you use this plugin, helps to keep my plugins FREE!
dealshare.co.uk – Thank you!!!

### Arbitrary section 1

## 安装

 1. Upload `plugin-name.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place `<?php do_action('plugin_name_hook'); ?>` in your templates and use the ‘
    format’ argument to display the current date and time information in a number of
    different ways.

## 常见问题

  What’s the easiest way to get this working after installation?

Simply insert the following code into your post to display the current year.

[datetool_current format=”Y”]
 This displays: 2013

  What else can you use in the ‘format’ argument to display the current date and
time information?

For a complete reference and combinations you can visit this page: http://php.net/
manual/en/function.date.php

Some examples…

Shortcode: [datetool_current format=”Y”]
 Output: 2013 (or what the current year
is)

Shortcode: [datetool_current format=”d”]
 Output: 16 (or what number the current
day is)

Shortcode: [datetool_current format=”jS F Y”]
 Output: 24th June 2013 (or what number
the current date is)

## 评价

此插件暂无评价。

## 贡献者及开发者

「Date Tool」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ gordi555 ](https://profiles.wordpress.org/gordi555/)

[帮助将「Date Tool」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/date-tool)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/date-tool/)，查看[SVN仓库](https://plugins.svn.wordpress.org/date-tool/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/date-tool/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/date-tool/)。

## 更新日志

2013-06-23 Plugin created.

## 额外信息

 *  版本 **1.1**
 *  最后更新：**12 年前**
 *  活跃安装数量 **80+**
 *  WordPress 版本 ** 3.3 或更高版本 **
 *  已测试的最高版本为 **3.9.40**
 *  语言
 * [English (US)](https://wordpress.org/plugins/date-tool/)
 * 标签
 * [current date](https://cn.wordpress.org/plugins/tags/current-date/)[current day](https://cn.wordpress.org/plugins/tags/current-day/)
   [current month](https://cn.wordpress.org/plugins/tags/current-month/)[date](https://cn.wordpress.org/plugins/tags/date/)
 *  [高级视图](https://cn.wordpress.org/plugins/date-tool/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  3 条 5 星评价     ](https://wordpress.org/support/plugin/date-tool/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/date-tool/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/date-tool/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/date-tool/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/date-tool/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/date-tool/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/date-tool/reviews/)

## 贡献者

 *   [ gordi555 ](https://profiles.wordpress.org/gordi555/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/date-tool/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.dealshare.co.uk)