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 - set date control the format of date variables http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 set date            Control the format of date variables
------------------------------------------------------------------------------
 Syntax
   set date datetype

 Arguments
   datetype is a keyword specifying the appearance of date display.

 Description
   The set date command controls the format of a date variable that is
   either displayed, printed or converted to a string.

   The D and E get functions override set date. The date functions
   today(), ctod(), and dtoc() respect the status of set date.

   Possible keywords for using as the datetype argument are explained in the
   Date type table.

 Example
   #define EXAMPLE_DATE
   #include example.hdr

   proc Test_setdate
   ? today()             // test default date format (American)
   set date british
   ? today()             // test British date format
   set date german
   ? today()             // test German date format
   endproc

   proc main
   Test_setdate()
   endproc

See Also: Date type table getdate()

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