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 - date date data type http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 date                Date data type
------------------------------------------------------------------------------
 Syntax
   date

 Arguments
   None.

 Features
   +----------------------------------------------------------------------+
   | Category             | calendar                                      |
   | Size                 | 4 bytes                                       |
   | Range                | 01/01/1000 to 12/31/9999                      |
   | Parameter: value     | yes                                           |
   | Parameter: reference | yes                                           |
   | Parameter: const     | yes                                           |
   | Return               | yes                                           |
   +----------------------------------------------------------------------+

 Description
   The date datatype stores date information in the form MM/DD/YYYY
   (the American date format), where MM is the month, DD is the day, and
   YYYY is the year. The date data type has no width specifier. Examples
   of valid dates are 01/31/1993, and 12/04/1970.

 Example
   #define EXAMPLE_DATATYPE
   #include example.hdr

   proc Test_date
   vardef
      date dTest
   enddef
   dTest := today()
   ? dTest
   endproc

   proc main
   Test_date()
   endproc

See Also: set date

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