How to get month of year in x++
static void mthYear(Args _arg)
{
int s;
;
s = mthOfYr(today());
print "Month of year is " + s;
pause;
}
static void mthYear(Args _arg)
{
int s;
;
s = mthOfYr(today());
print "Month of year is " + s;
pause;
}
static void mthName(Args _arg)
{
str s;
;
s = mthName(8);
info(strfmt("Month name is %1" , s));
}
Happy Daxing!