{{tag>Function Function_List Date_And_Time}} ====== DAYS ====== ===== Description ===== Returns an integer constant indicating the number of days in the provided duration ===== Syntax ===== ''DAYS (duration)'' Can be used in the condition of a [[:ref:a_f:a:find|FIND]] action. ===== Parameters ===== Attribute of the Duration type or duration constant or calculation producing duration ===== Returns ===== **Number**: the number of days in the given duration ===== Example ===== IF DAYS (Task.Duration) = 5 THEN ... ===== Related ===== [[ref:a_f:f:af:hours|HOURS]], [[ref:a_f:f:af:minutes|MINUTES]], [[ref:a_f:f:af:weeks|WEEKS]], [[ref:a_f:f:af:seconds|SECONDS]]