# How can I calculate and display an animal’s age (in years and months) on a Wix Studio CMS List Page?

**URL:** <https://forum.wixstudio.com/t/how-can-i-calculate-and-display-an-animal-s-age-in-years-and-months-on-a-wix-studio-cms-list-page/75522>\
**Category:** Ask the community\
**Tags:** wix-studio, question, cms, code, wix\
**Created:** [December 12, 2025, 3:59pm UTC](https://forum.wixstudio.com/t/how-can-i-calculate-and-display-an-animal-s-age-in-years-and-months-on-a-wix-studio-cms-list-page/75522 "2025-12-12T15:59:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jessica\_Allkemper](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/jessica_allkemper/32/113470_2.png) [@Jessica\_Allkemper](https://forum.wixstudio.com/u/Jessica_Allkemper)\
**Post date:** [December 12, 2025, 3:59pm UTC](https://forum.wixstudio.com/t/how-can-i-calculate-and-display-an-animal-s-age-in-years-and-months-on-a-wix-studio-cms-list-page/75522/1 "2025-12-12T15:59:16Z")

</div>

I’m building a website in **Wix Studio** and I have a CMS collection for animals.  
Each item has a date field called **“geborenam”** (date of birth).  
On my **List Page** (“Tiere alle”), I want to display the **calculated age** of each animal in the format:

**“X years, Y months”**

I already have a text element inside the repeated list item where the age should appear.

My problem is:

- Wix Studio CMS does not support calculated fields

- I cannot get the Velo code working on the List Page

- I am unsure how to correctly use the **itemReady** function in Wix Studio

- I need the age to update dynamically based on the current date

Can someone please explain:

1. Where exactly the **Page Code** is located in Wix Studio?

2. How to correctly use the **itemReady($item, itemData)** function for a List Page?

3. How to insert the birthdate (`geborenam`) from the CMS and convert it to age?

4. How to output the result into my text element (ID: `agetext`) inside the repeated item?

Any help or a working code example for Wix Studio (not the old Wix Editor) would be greatly appreciated.

Thank you!
