Remove "Years" from a Date Formatted as Age

Please note that this is now available as a plugin for easier installation. While you can use this document as a reference, the recommended method to add…

  • Not yet re-checked
  • Classic builder

Moved from our previous help site and not yet re-checked against the current product. Last edited Sep 20, 2024.

Screenshot for “Remove "Years" from a Date Formatted as Age”

The following CSS is a solution to remove the year's text from a table with a date formatted as an age.

Step 1

Ensure your date field within your table is set to the format of "Age."

Screenshot for “Remove "Years" from a Date Formatted as Age”

Step 2

Add the following code to the CSS tab of your page.

Text
.tb-age-year-text {
    display: none;
}
Screenshot for “Remove "Years" from a Date Formatted as Age”

Original Community Post:

Date Calculations - Age of an asset - Community Discussions / How Do I - Tadabase Community

Was this page helpful?

Something wrong or missing on this page? Tell us.