[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
USAGE
signed int sccds2mon(
signed char *monthstr,
signed char *date,
signed int format );
PROTOTYPE IN
sc_clock.h
DESCRIPTION
sccds2mon returns the ASCIIZ month of year (monthstr). The ASCIIZ
date string (date) is converted to integers under control of the date
string format indicator (format) and then the month is translated
into a string.
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];
sccds2mon(&month,"5/16/90",SC_GREGOR);
puts(month);
}
See Also:
sccds2day
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson