Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - dtoc() convert a date value to a character string
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dtoc() Convert a date value to a character string
------------------------------------------------------------------------------
Declaration
date.hdr
Syntax
func char dtoc extern
param value date dDate
Arguments
dDate is the date to convert.
Return
The string representation of the passed date.
Description
The dtoc() function returns a character string representing dDate.
dtoc() uses the current status of the set date flag to format the date
character string. Depending on the status of set century, the string
will represent the year with two or four digits.
Example
#define EXAMPLE_DATE
#include example.hdr
proc Test_dtoc
? "Account Report" + space( 5 ) + dtoc( today() )
endproc
proc main
Test_dtoc()
endproc
See Also: cdow() cmonth() ctod() dtos() fdtoc() set century set date set epoch to
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson