[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
USAGE
signed int sccdsmonth(
signed char *monthstr,
signed char month );
PROTOTYPE IN
sc_clock.h
DESCRIPTION
sccdsmonth returns the ASCIIZ month string in monthstr for the
month specified by month. month must be in the range of 1 (January)
to 12 (December). The maximum length of the string returned will be 9 plus
the NULL byte.
Date string styles:
SC_GREGOR mm/dd/yy
SC_GREGORL mm/dd/yyyy
SC_JULIAN yyyy/ddd
SC_YMD yyyymmdd
SC_DMY ddmmyy
EXAMPLE
#include <stdio.h>
#include <softc.h>
#include <sc_clock.h>
void main()
{
char month[10];
sccdsmonth(month,4);
puts(month);
}
See Also:
sccdsday
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson