It looks like you're new here. Sign in or register to get started.
Mydate := 04302006D; mystr := format(Mydate,0,'<Month Text> <Day>, <Year4>'); message(mystr);
OldDate := '30042006'; EVALUATE(DayVar, COPYSTR(OldDate, 1,2)); EVALUATE(MonthVar, COPYSTR(OldDate, 3,2)); EVALUATE(YearVar, COPYSTR(OldDate, 5,4)); MESSAGE('%1', FORMAT(DMY2DATE( DayVar,MonthVar,YearVar), 0, '<Month Text, 3> <Day>, <Year4>'));
Comments
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Oleg
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n