# Property "YEAR" function Calculated Formula Output not correct?

**URL:** <https://community.hubspot.com/t/property-year-function-calculated-formula-output-not-correct/133208>\
**Category:** Tips, Tricks & Best Practices\
**Tags:** professional\
**Created:** [May 22, 2025, 1:43pm UTC](https://community.hubspot.com/t/property-year-function-calculated-formula-output-not-correct/133208 "2025-05-22T13:43:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![GPeters74](https://avatars.discourse-cdn.com/v4/letter/g/ee59a6/32.png) [@GPeters74](https://community.hubspot.com/u/GPeters74)\
**Post date:** [May 22, 2025, 1:43pm UTC](https://community.hubspot.com/t/property-year-function-calculated-formula-output-not-correct/133208/1 "2025-05-22T13:43:43Z")

</div>

Was trying to create a property using the “year” function so as to get the current year only output. No matter what I try it ends up putting the entire date and doesn’t actually give the correct Output.

 ![Year Calculation formula.JPG](https://d2qpr2jzcazej7.cloudfront.net/original/3X/d/2/d2c3181257419343de869014b0d041e6efe20298.jpeg)

 ![Year Calculation formula-2.JPG](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/e/9e153cc498dc9031d0ab66c8e843154d98867d9c.jpeg)

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [May 22, 2025, 1:45pm UTC](https://community.hubspot.com/t/property-year-function-calculated-formula-output-not-correct/133208/2 "2025-05-22T13:45:37Z")

</div>

Hi @GPeters74,

You need to change your output type to “Number”, then it should work.

Best regards!

---

<div class="post-metadata">

**Author:** ![GPeters74](https://avatars.discourse-cdn.com/v4/letter/g/ee59a6/32.png) [@GPeters74](https://community.hubspot.com/u/GPeters74)\
**Post date:** [May 22, 2025, 1:54pm UTC](https://community.hubspot.com/t/property-year-function-calculated-formula-output-not-correct/133208/3 "2025-05-22T13:54:30Z")

</div>

Okay, will try.

Didn’t realize that this **converts** a “date” type property and changes it to a “number” type property.

---

<div class="post-metadata">

**Author:** ![franksteiner79](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/franksteiner79/32/34443_2.png) [@franksteiner79](https://community.hubspot.com/u/franksteiner79)\
**Post date:** [May 22, 2025, 1:48pm UTC](https://community.hubspot.com/t/property-year-function-calculated-formula-output-not-correct/133208/4 "2025-05-22T13:48:53Z")

</div>

Hi @GPeters74

I am not expert by any stretch buthave you tried chaning the output format to a number?

Date Output will always show as dd-mm-yyyy or any variation thereof depending on your portal preference. So my thinking is even though you just want to output 2025, the expected format is always missing or trying to fill the dd-mm part of that property.

I would try output as unformatted number and see if that works.

Frank
