SSTOD(<N seconds>)
Converts seconds to days.
Returns <expN> number of days that equal <seconds>.
Useful in applications that handle time by days.
* Total seconds exceed one day
m_seconds = 90000
days_spent = INT( SSTOD(m_seconds) )
time_spent = TIMESTR(m_seconds)
* Total time is days_spent plus time_spent
* days_spent contains 1
* time_spent contains "01:00:00"
* Total seconds do not exceed one day
m_seconds = 80000
days_spent = INT( SSTOD(m_seconds) )
time_spent = TIMESTR(m_seconds)
* Total time is days_spent plus time_spent
* days_spent contains 0
* time_spent contains "22:13:20"
Placed in the Public Domain by Tom Rettig Assoc.