WEEKS
Description
Returns an integer constant indicating the number of weeks in the provided duration
Parameters
Attribute of the Duration type or duration constant or calculation producing duration
Example
IF WEEKS (Task.Duration) = 5 THEN ...