[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
DATE
. Summary
date(int <timeval>, str <buffer>);
. Description
The date function writes out a date in <buffer> in the form
mm/dd/yy, dd/mm/yy, or yy/mm/dd (which is based on the system vari-
able _date_format). <timeval> is the date, represented as the number
of seconds since Jan 1, 1970. Time values in this form are returned
by the curtime and filetime functions, among others.
. Return Value
None.
. Example
str s[16];
printsc("The current date is ");
date(curtime(), s);
prints(s);
See Also:
_date_format
time
curtime
filetime
tday
thour
tmin
tmonth
tsec
tyear
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson