Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide To Clipper - <b>days() numeric seconds to days examplep.prg</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Days()         Numeric seconds to days                 Examplep.prg


Syntax:        Days(<expN>)

Argument:      <expN> is the number of seconds to convert to days.

Returns:       An integer numeric value.

               Days() returns the number of days from numeric seconds to
               the nearest day.  The remainder under 24 hours can be
               obtained by Tstring(<seconds> % 86400).

Library:       EXTEND.LIB


--------------------------------- Source Code ------------------------------

   FUNCTION Days

   PARAMETERS cl_secs

   RETURN INT(cl_secs / 86400)

See Also: Tstring()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson