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 - getdate() return the date setting http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 getdate()           Return the date setting
------------------------------------------------------------------------------
 Declaration
   getset.hdr

 Syntax
   func uint getdate extern

 Arguments
   None.

 Return
   The current date setting as a numeric constant.

 Description
   The getdate() function returns the current date setting.

 Example
   #define EXAMPLE_DATE
   #include example.hdr

   proc Test_getdate
   vardef
      uint n
   enddef
   for n := DATE_AMERICAN to DATE_ANSI
      setdate( n )                      // change date setting
      ? n, getdate(), today()           // test date setting
   next
   endproc

   proc main
   Test_getdate()
   endproc

See Also: getsetdate()

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