You’ve probably seen the phrases. These are common phrases you can find on a great number of websites, often on an “About Us” or bio page. How many of those sites will remember to update those numbers each year? With the Timeless Text plugin, those phrases will be automatically updated to ensure they never fall out of sync.
I have 20 years of PHP development experience.
We have 35 years of combined experience!
It all began 2 years ago when…
To Calculate Elapsed Years
To process a single date into the number of elapsed years, use the following format.
Usage
24
Arguments
- y
Required The year value of the date to calculate. - m
Optional The month value of the date to calculate. Defaults to 1. - d
Optional The day value of the date to calculate. Defaults to 1. - text
Optional Set to false to suppress the text portion and only return the integer value. Defaults to true.
Examples
I have 24 years of experience with web development.
It all began just 24 years ago.
So, there we were...that was 24 long years ago.
To Calculate Combined Years
To process a series of dates into a cumulative number of elapsed years, use the following format.
Usage
76
Arguments
- combined
Required The date values to calculate for cumulative years, comma-separated. - text
Optional Set to false to suppress the text portion and only return the integer value. Defaults to true.
Examples
Together, we bring 26 years of combined experience to your team.
Note: You must provide 2 or more dates. separated by commas. Each date must include the year, month, and day. You can use hyphens or forward-slashes between those numbers.