transdate fromdate ,noholdingfromdate ;
int finOpenYr ;
fromdate=22/06/10
finOpenYr = year(_FromDate); //it returns 2010
noholdingfromdate = str2date('31-MAR' + int2str(finOpenYr),123); but this code returns 31-MAR-2011
Pls help i want it should return noholdingfromdate =31-MAR-2010
*This post is locked for comments
I have the same question (0)