# Dividing a number by the number of days between dates

**URL:** <https://discourse.julialang.org/t/dividing-a-number-by-the-number-of-days-between-dates/57728>\
**Category:** New to Julia\
**Created:** [March 22, 2021, 3:25pm UTC](https://discourse.julialang.org/t/dividing-a-number-by-the-number-of-days-between-dates/57728 "2021-03-22T15:25:53Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [March 22, 2021, 5:12pm UTC](https://discourse.julialang.org/t/dividing-a-number-by-the-number-of-days-between-dates/57728/3 "2021-03-22T17:12:26Z")

</div>

While the above works, depending on your application you might want to ensure that you are dividing by the number of trading days rather than calendar days, cf the discussion here: [Getting the third Friday of the month - #4 by lungben](https://discourse.julialang.org/t/getting-the-third-friday-of-the-month/56787/4)

---

_[View the full topic](https://discourse.julialang.org/t/dividing-a-number-by-the-number-of-days-between-dates/57728)._
