WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Date Tool

A simple plugin that returns the current date/time in a variety 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)

Requires: 3.3 or higher
Compatible up to: 3.9.1
Last Updated: 2014-4-21
Downloads: 1,838

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.