ph_secondsdiffsec PowerHome formula function
Description
Returns the difference between two times (represented as a double number containing the number of seconds past midnight)
Syntax
ph_secondsdiffsec ( time1, time2 )
Argument Description
time1 Double representing the earlier time.
time2 Double representing the later time.
Return value
Double. Returns the difference between the two times. If time2 happens to be less than time1 (such as when crossing midnight), then 86400.0 will be added to time2 to account for the extra day.