{{tag>Function Function_List Date_And_Time}} ====== SECONDS ====== ===== Description ===== Returns an integer constant indicating the number of seconds in the provided duration ===== Syntax ===== ''SECONDS (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 seconds in the duration. ===== Example ===== IF SECONDS (Task.Duration) = 5 THEN ... ===== Related ===== [[ref:a_f:f:af:minutes|MINUTES]], [[ref:a_f:f:af:hours|HOURS]], [[ref:a_f:f:af:days|DAYS]], [[ref:a_f:f:af:weeks|WEEKS]]