$FUNCNAME$
  SECONDS()
$CATEGORY$
  DATE/TIME
$SUMMARY$
   Return the number of seconds elapsed since midnight
$LANG_RU$
     ,   .
$SYNTAX$
     SECONDS() --> nSeconds
$LANG_RU$
     SECONDS() -->  
$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 0 to 86399.
$LANG_RU$
     SECONDS()        
      .    -  
     ,   .    -  0 
     86399.
$DESCRIPTION$
     SECONDS() is a time function that provides a simple method of
     calculating elapsed time during program execution, based on the system
     clock.  It is related to the TIME() function which returns the system
     time as a string in the form hh:mm:ss.
$LANG_RU$
     SECONDS() -    ,  
          . 
       . SECONDS()   TIME(),
             ::.
$EXAMPLES$
       This example contrasts the value of TIME() with SECONDS():

	? TIME()               // Result: 10:00:00
	? SECONDS()            // Result: 36000.00

       This example uses SECONDS() to track elapsed time in seconds:

	LOCAL nStart, nElapsed
	nStart:= SECONDS()
	.
	. <statements>
	.
	nElapsed:= SECONDS() - nStart
	? "Elapsed: " + LTRIM(STR(nElapsed)) + " seconds"
$LANG_RU$
          TIME()  SECONDS():

       ? TIME()            // : 10:00:00
       ? SECONDS()         // : 36000.00

          SECONDS()  
       ,   :

       LOCAL nStart, nElapsed
       nStart = SECONDS()
       ...
       ...<>
       ...
       nElapsed = SECONDS() - nStart
       ? " :" + LTRIM(STR(nElapsed)) + " "
$SEEALSO$
  TIME()
$END$
