# Convert date to Qtr year

**URL:** <https://community.hubspot.com/t/convert-date-to-qtr-year/114353>\
**Category:** Tips, Tricks & Best Practices\
**Tags:** enterprise\
**Created:** [August 13, 2024, 9:05am UTC](https://community.hubspot.com/t/convert-date-to-qtr-year/114353 "2024-08-13T09:05:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LDeniz](https://avatars.discourse-cdn.com/v4/letter/l/b9bd4f/32.png) [@LDeniz](https://community.hubspot.com/u/LDeniz)\
**Post date:** [August 13, 2024, 9:05am UTC](https://community.hubspot.com/t/convert-date-to-qtr-year/114353/1 "2024-08-13T09:05:19Z")

</div>

Hi all,

I want a custom property named “Renewal Qtr-Yr” that converts the reneal date i.e., 01/08/2024 to quater year format Q3 24.

Is this possible?

---

<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:** [August 13, 2024, 9:22am UTC](https://community.hubspot.com/t/convert-date-to-qtr-year/114353/2 "2024-08-13T09:22:32Z")

</div>

Hi @LDeniz,

This can be achieved with a custom calculation property (type string), see below: [Create calculation and rollup properties](https://knowledge.hubspot.com/properties/create-calculation-properties)

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/5/3/53af1361428220d961e388e9317e01d3684e7832.png)

`concatenate((if((month([properties.createdate]) == 1), "Q1 ", if((month([properties.createdate]) == 2), "Q1 ", if((month([properties.createdate]) == 3), "Q1 ", if((month([properties.createdate]) == 4), "Q2 ", if((month([properties.createdate]) == 5), "Q2 ", if((month([properties.createdate]) == 6), "Q2 ", if((month([properties.createdate]) == 7), "Q3 ", if((month([properties.createdate]) == 8), "Q3 ", if((month([properties.createdate]) == 9), "Q3 ", if((month([properties.createdate]) == 10), "Q4 ", if((month([properties.createdate]) == 11), "Q4 ", if((month([properties.createdate]) == 12), "Q4 ", "Unknown"))))))))))))),number_to_string(year([properties.createdate])))`

Simply replace the create date with your date property.

Best regards
