Secs()

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 )

Compliance

Clipper

Platforms

All

Files

Library is core

Seealso

Seconds(), ElapTime(), Time()

3 responses to “Secs()

  1. Pingback: Harbour All Functions – S | Viva Clipper !

  2. Pingback: Harbour Date & Time Functions | Viva Clipper !

  3. Pingback: Harbour RG Summary | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.