SQL Reference

MIDNIGHT_SECONDS

>>-MIDNIGHT_SECONDS--(--expression--)--------------------------><
 

The schema is SYSFUN.

Returns an integer value in the range 0 to 86 400 representing the number of seconds between midnight and the time value specified in the argument.

The argument must be a time, timestamp, or a valid character string representation of a time or timestamp that is neither a CLOB nor a LONG VARCHAR.

The result of the function is INTEGER. The result can be null; if the argument is null, the result is the null value.

Example:


[ Top of Page | Previous Page | Next Page ]