Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

[TiSiE] RelativeTime

Adds template tags to your wordpress blog to let you show dates and times in a relative way.

Adds template tags to your wordpress blog that lets you show relative time strings, such as "3 months and 2 days" or "4 months, 10 hours and 2 minutes".

Unlike other algorithms used to calculate relative time, this plugin uses an algorithm based on written substraction and therefore the calculated relative time is synchronous to the gregorian calendar system.
Example: Let's assume todays date were "2010-03-01" and the post date were "2010-02-01". The result of this plugin's calculation would be "1 month".

Currently only englisch and german localizations are available. But maybe you can help me translate to other languages. I will gladly add them. (see "FAQ" for more details)

The following template tags are available

  • the_date_relative / get_the_date_relative
  • the_modified_date_relative / get_the_modified_date_relative
  • comment_date_relative / get_comment_date_relative

Additionally there are two filter hooks available

  • tirt_get_string
  • tirt_get_array

Please see the "Other Notes" tab for more information about the usage.

Du kannst auch auf deutsch lesen.

This is a BETA release

So, if something is not working as expected or you get others errors or you encounter incompatibilities to other plugins - please report them to me so I can fix and improve my plugin.

Requires: 2.9 or higher
Compatible up to: 3.0.5
Last Updated: 6 years ago
Active Installs: 20+


0 out of 5 stars


Got something to say? Need help?


Not enough data

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