• Hello, and thank you for creating this wonderful plugin!

    I am trying to use it to calculate someone’s age, which can work very well, except that it is displaying 4 digits instead of 2 digits.

    Suppose someone is born on the 1st of July 1990, I put the following code:

    [date_sub day=”1″ month=”7″ year=”1990″ show=”yearonly”] years old.

    I get the result: 2027 years old.

    I even tried to write it this way:

    [date_sub day=”1″ month=”7″ year=”1990″ show=”yearonly” format=”y” ] years old

    And I get the same result: 2027 years old.

    How can I get the last two numbers only of the year, meaning: 27 years old.

    Thank you in advance!

    • This topic was modified 6 years, 9 months ago by cyberanto.
  • The topic ‘Calculating someone’s age’ is closed to new replies.