static void Nar_calNoofmnt(Args _args)
{
TransDate fromdate;
TransDate todate;
int noofmnt;
fromdate = 01\04\2017;
todate = 09\10\2018;
if(fromdate<todate)
{
do
{
noofmnt =mthOfYr(fromdate);
info(strFmt("%1-%2--%3",mthName(noofmnt),fromdate,endmth(fromdate)));
fromdate = nextMth(fromdate);
}
while(fromdate<=todate);
}
}
{
TransDate fromdate;
TransDate todate;
int noofmnt;
fromdate = 01\04\2017;
todate = 09\10\2018;
if(fromdate<todate)
{
do
{
noofmnt =mthOfYr(fromdate);
info(strFmt("%1-%2--%3",mthName(noofmnt),fromdate,endmth(fromdate)));
fromdate = nextMth(fromdate);
}
while(fromdate<=todate);
}
}
No comments:
Post a Comment