Not sure whther there is some other way…
you can try
Month := DATE2DMY(010911D,2);
IF STRLEN(FORMAT(Month)) <> 2 THEN
MonthTxt := ‘0’ + FORMAT(Month)
ELSE
MonthTxt := FORMAT(Month);
Message(’%1’,MonthTxt);
Not sure whther there is some other way…
you can try
Month := DATE2DMY(010911D,2);
IF STRLEN(FORMAT(Month)) <> 2 THEN
MonthTxt := ‘0’ + FORMAT(Month)
ELSE
MonthTxt := FORMAT(Month);
Message(’%1’,MonthTxt);