Previous Topic Next topic Print topic


DAYSTOSECS Function

Purpose

Converts a number of days to a number of seconds.

Syntax

DAYSTOSECS (x)

Parameters

x is an expression. x must have a computational type and is converted to FIXED BINARY(31,0) if necessary.

Description

The DAYSTOSECS returns a FLOAT BINARY(53) value that is the number of seconds corresponding to the number of days value of x. It is equivalent to x*(24*60*60).

See the help topic Date/Time Built-in Functions for more information about Lilian format and supported date/time patterns.

Restrictions

None.

Previous Topic Next topic Print topic