Seconds()

<< Click to Display Table of Contents >>

Navigation:  Available Functions >

Seconds()

Syntax

Seconds()

 

Purpose

To Return the number of seconds elapsed since midnight.

 

Parameters

None.

 

Returns

Seconds() returns the system time as a numeric value in the form seconds.hundredths. The numeric value returned is the number of seconds elapsed since midnight, and is based on a twenty-four hour clock in a range from zero to 86399.

 

Usage

Seconds() is a time function that provides a simple method of calculating elapsed time during a report or other process should you wish to include such information on a report. The Seconds() function is based on the system clock, and is related to the Time() function which returns the system time as a character value in the form hh:mm:ss.

 

Example

The following examples illustrate Seconds():

 

CALL

RESULT

Time()

10:00:00

Seconds()

36000.00