How To Display Time Difference In WordPress Posts ?

Displaying time difference means showing up time between now and a specified date/time in your WordPress blog pages, posts and also in text widgets.

time-difference

With new WordPress Time Difference plugin you can embed time differences in your blog content by following a simple shortcode syntax:

[time]timestamp,units[/time]

Now Add Your Parameters By Replacing:

  1. “timestamp” with date you like to calculate difference with.
  2. “units” with an appropriate time difference unit (minutes, hours, days, months, years).

For Example:

[time]2012-12-01,months[/time]

Also you can use full timestamps:

[time]2013-05-01 08:00,hours[/time]

Leave a Reply

Your email address will not be published. Required fields are marked *