Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
date calculation: automatic update for eg 'since 12 years'?
Coming from How to display the current year I have a related question.
I want to display something like “being in business since 12 years” where the ‘12’ will update automatically from a given date like 1.5.2000.
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
#2 2012-10-20 12:10:43
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: date calculation: automatic update for eg 'since 12 years'?
Don’t know if the plugin still works in recent versions, but fha_time_diff does exactly that.
Offline
Re: date calculation: automatic update for eg 'since 12 years'?
Els wrote:
Don’t know if the plugin still works in recent versions, but fha_time_diff does exactly that.
It works on my installs.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: date calculation: automatic update for eg 'since 12 years'?
Thanks Els for the tip and thanks Yiannis for the confirmation.
Another one of those helpful ‘never heard of’ plug-ins. Esp. for those ‘static’ shoot and forget business websites :)
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline