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 - fdtoc() convert a field date string to a date string http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 fdtoc()             Convert a field date string to a date string
------------------------------------------------------------------------------
 Declaration
   date.hdr

 Syntax
   func char(8) fdtoc extern
   param const char(8) cDate

 Arguments
   cDate is a field date string.

 Return
   A date string derived from the passed field date string.

 Description
   The fdtoc() function returns a date string derived from the passed
   field date string. The passed field date string is in YYYYMMDD form
   (corresponding to the internal representation of date fields in
   databases). The returned string reflects the set date setting.

 Example
   #define EXAMPLE_DATE
   #include example.hdr

   proc Test_fdtoc
   set century on
   ? fdtoc( "20000101" )    // print 01/01/2000
   endproc

   proc main
   Test_fdtoc()
   endproc

See Also: dtoc() dtos()

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