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

 Syntax
   func char cmonth extern
   param value date dDate

 Arguments
   dDate is the date to convert.

 Return
   The name of the month.

 Description
   The cmonth() function returns a character string of the name of the month
   represented by dDate. The function retrieves the day names
   from the array __monthnames[] which contains the English month names.

 Example
   #define EXAMPLE_DATE
   #include example.hdr

   proc Test_cmonth
   ? cmonth( ctod( "08/13/89" ) )   // output: August
   // print month for current report on the number of fires handled by a
   // volunteer fire department
   ? "Number of fires in " + cmonth( today() )
   endproc

   proc main
   Test_cmonth()
   endproc

See Also: __monthnames

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