ToWeeks(Duration duration)
Takes a duration and returns the number of weeks contained in it.
Parameters
- duration
- The duration value to convert to weeks.
Returns
Numeric
Examples
ToWeeks(Days(14))
returns 2.ToWeeks([Duration Column])
takes the duration value "7 days" stored in the duration column and returns 1.