# SECS()

Return the number of seconds from the system date.

Syntax

  SECS( <cTime> ) --> nSeconds

Arguments

  <cTime> Character expression in a time string format

Returns

  <nSeconds> Number of seconds

Description

  This function returns a numeric value that is a number of elapsed seconds from midnight based on a time string given as <cTime>.

Examples

          ? Secs(Time())
          ? Secs(time()-10)

Status

  Ready

Compliance

  This function is Ca-Clipper compliant

Platforms

  All

Files

  Library is rtl

See Also

- SECONDS()
- ELAPTIME()
- TIME()