Time Difference

time-difference

This simple plugin will help you embed time differences your posts, pages and text widgets. I needed this to display time elapsed between the moment I started working for my current company and used it on my Working Experience page.

Just follow this simple syntax and type it into your post, page or widget content:

[time]timestamp,units[/time]

Replace timestamp with the date you wish to calculate the difference with. Then replace units with an appropriate time difference unit (minutes, hours, days, months, years). That’s it!

Example:

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

In your post (page or text widget), this will be displayed like this: [time]2012-12-01,months[/time] You can also use full timestamps:

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

Feel free to download this simple plugin on WordPress.Org. Enjoy!

Share on TumblrTweet about this on TwitterShare on FacebookShare on Google+Share on LinkedInShare on RedditPin on PinterestShare on VK

Leave a Reply

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