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 - itod() convert day, month and year values into date value http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 itod()              Convert day, month and year values into date value
------------------------------------------------------------------------------
 Declaration
   date.hdr

 Syntax
   func date itod extern
   param value uint uDay, ;
         value uint uMonth, ;
         value uint uYear

 Arguments
   uDay is the day of the date.
   uMonth is the month of the date.
   uYear is the year of the date.

 Return
   A date assembled from the passed values.

 Description
   The itod() function converts the uDay, uMonth and uYear values to a
   single date value.

 Example
   #define EXAMPLE_DATE
   #include example.hdr

   proc Test_itod
   vardef
      uint nYear, nMonth, nDay
   enddef
   input "Input day: " to nDay
   input "Input month: " to nMonth
   input "Input year: " to nYear
   ? "Date is", itod( nDay, nMonth, nYear )
   endproc

   proc main
   Test_itod()
   endproc

See Also: ctod() fdtod()

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