DAYS

Returns an integer constant indicating the number of days in the provided duration

DAYS (duration)

Can be used in the condition of a FIND action.

Attribute of the Duration type or duration constant or calculation producing duration

Number: the number of days in the given duration

IF DAYS (Task.Duration) =  5 THEN ...