# 🆕 Date-time Math

**URL:** <https://community.glideapps.com/t/date-time-math/15963>\
**Category:** General\
**Tags:** data-editor\
**Created:** [September 17, 2020, 5:47pm UTC](https://community.glideapps.com/t/date-time-math/15963 "2020-09-17T17:47:41Z")\
**Posts on this page:** 1\
**Showing post:** 122

<div class="post-metadata">

**Author:** ![Michael\_Weiss](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/michael_weiss/32/35265_2.png) [@Michael\_Weiss](https://community.glideapps.com/u/Michael_Weiss)\
**Post date:** [June 6, 2022, 9:16am UTC](https://community.glideapps.com/t/date-time-math/15963/122 "2022-06-06T09:16:55Z")

</div>

> [@How to get user age from birthday](https://community.glideapps.com/t/how-to-get-user-age-from-birthday/41507/6):
>
> floor((year(now)-date)/365.25)

I get an “Invalid operation on date/time” message on the part : year(now) - date

---

_[View the full topic](https://community.glideapps.com/t/date-time-math/15963)._
