home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
turbo_c
/
tc130.arc
/
WKDAYNM.DOC
< prev
Wrap
Text File
|
1987-08-20
|
750b
|
41 lines
NAME
wkdayname -- return a pointer to name of day string
SYNOPSIS
char *wkdayname(day);
int day; day number 0-6
DESCRIPTION
This function returns a character pointer to a text string
naming the day of the week indicated by the day parameter.
Day 0 is Sunday, and day 6 is Saturday. Strings are null terminated
and may be used directly or copied to another string.
EXAMPLE
printf("Today is %s", wkdayname(3));
/* output is :
Today is Wednesday
*/
This function is found in SMTCx.LIB for the Turbo-C Compiler.