Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-10-20 11:03:55

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

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

#3 2012-10-20 14:05:33

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,172
Website GitHub Mastodon Twitter

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

#4 2012-10-22 06:09:38

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

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

Board footer

Powered by FluxBB