Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - seconds() return the number of seconds since midnight http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 seconds()           Return the number of seconds since midnight
------------------------------------------------------------------------------
 Declaration
   system.hdr

 Syntax
   func ulong seconds extern

 Arguments
   None.

 Return
   The number of seconds elapsed since midnight.

 Description
   The seconds() function returns the number of seconds elapsed since
   midnight.

 Example
   #define EXAMPLE_SYSTEM
   #include example.hdr

   proc Test_seconds
   vardef
      uint n
   enddef
   ? "Number of seconds elapsed since midnight"
   for n := 1 to 10
      ? seconds()
      delay( 1 )
   next
   endproc

   proc main
   Test_seconds()
   endproc

See Also: dayseconds()

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