ph_secondsdiff PowerHome formula function
Description
Returns the number of seconds one time occurs after another.
Syntax
ph_secondsdiff ( time1, time2 )
Argument |
Description |
time1
|
A time value that is the start time of the interval being measured
|
time2
|
A time value that is the end time of the interval
|
Return value
Double. Returns the number of seconds time2 occurs after time1. This function always assumes that time2 occurs after time1. If time1 is 23:59:59 and time2 is 00:00:01 then the returned value will be 2 even though time2 is less than time1. Partial seconds are returned in decimal format.