Conversation
supportHello, how can I calculate my age? I tried it a few times. My last try looks like this: [date_sub day="1" month="1" year="1990" show="yearonly"] but I got 2028 as result. I expect 28. Thanks.
Google explain the problem: Note: For the y and yy formats, years below 100 are handled in a special way when the y or yy symbol is used. If the year falls in the range 0 (inclusive) to 69 (inclusive), 2000 is added. If the year falls in the range 70 (inclusive) to 99 (inclusive) then 1900 is added. This means that “00-01-01” is interpreted as “2000-01-01”. All is in the way that a browser read the result of the years. This reply was modified 7 years, 4 months ago by rossennenov .
Google explain the problem: Note: For the y and yy formats, years below 100 are handled in a special way when the y or yy symbol is used. If the year falls in the range 0 (inclusive) to 69 (inclusive), 2000 is added. If the year falls in the range 70 (inclusive) to 99 (inclusive) then 1900 is added. This means that “00-01-01” is interpreted as “2000-01-01”. All is in the way that a browser read the result of the years. This reply was modified 7 years, 4 months ago by rossennenov .