I am trying to create date like this:::
EVALUATE(DD,COPYSTR(LineText,5,2));
EVALUATE(MM,COPYSTR(LineText,3,2));
EVALUATE(YY,COPYSTR(LineText,1,2));
ReturnDate := DMY2DATE(DD,MM,YY);
EXIT(ReturnDate);
But the Return date is showing me 06/08/0006 instead of
06/08/2006 or 06/08/06. Is this due to regional setting or do i need to write code for this. ](*,)
Regards,
0
Comments