SECSTODAYS

SECSTODAYS returns a FIXED BINARY(31,0) value that represents the number of seconds x converted to days, ignoring incomplete days.

Read syntax diagramSkip visual syntax diagramSECSTODAYS( x)
x
Expression. The value for x must have computational type and should be FLOAT BINARY(53). If not, it is converted to FLOAT BINARY(53).

SECSTODAYS(x) is the same as x/(24*60*60).

For an example, see SECS.