Previous Topic Next topic Print topic


SECSTODAYS Function

Purpose

Converts a number of seconds to a number of days.

Syntax

SECSTODAYS (x)

Parameters

x is an expression. x must have a computational type and should be FLOAT BINARY(53). If not, it is converted to FLOAT BINARY(53).

Description

The SECSTODAYS function returns a FIXED BINARY(31,0) value for the number of seconds in x converted to days. Complete days are ignored. It is equivalent to x/(24*60*60).

Restrictions

None.

Previous Topic Next topic Print topic