get the string representing the month given a number from 1 to 12
BOOL get_month_name( int nMonth, int nAbbriv, LPSTR lpszBuff, int nSize )
false if error, like nMonth not 1-12 or nAbbriv not one of the value supported
EX1
void get_month_name_ex1() { char pMonth[20] = ""; bool bRet = get_month_name(2, -1, pMonth, 20); out_str(pMonth); bRet = get_month_name(1, 0, pMonth, 20); out_str(pMonth); bRet = get_month_name(3, 1, pMonth, 20); out_str(pMonth); bRet = get_month_name(5, 3, pMonth, 20); out_str(pMonth); }
origin.h