Skip to main content

Timespan

A Timespan field reads a duration and writes it as a whole number of days, such as 14.

How values are read​

A Timespan field understands numbers and units in English, Dutch, German, French and Spanish, such as "2 weeks" or "3 maanden". A week counts as 7 days, a month as 30.44 days and a year as 365.25 days, and the result is rounded down.

A number without a unit is read by its usual meaning: 7, 25, 30 and 365 as days, 4, 6 and 12 as months, 52 as weeks, and any other number as days. A value that is not a duration gives the error "Invalid timespan" and is cleared.