anandknr
Member
Please find below code .
DEFINE VARIABLE ddate AS DATE NO-UNDO FORMAT "99/99/9999" INIT 01/01/2001 .
MESSAGE ddate VIEW-AS ALERT-BOX .
The above program alerts as 01/01/01 instead of 01/01/2001 even after i had used format option. Please help to alert it in DD/MM/YYYY without changing it's data type that is string(ddate,"99/99/9999") will solve my issue , but that is not what i supposed to do ....
Sorry if it is a simple question . . .
DEFINE VARIABLE ddate AS DATE NO-UNDO FORMAT "99/99/9999" INIT 01/01/2001 .
MESSAGE ddate VIEW-AS ALERT-BOX .
The above program alerts as 01/01/01 instead of 01/01/2001 even after i had used format option. Please help to alert it in DD/MM/YYYY without changing it's data type that is string(ddate,"99/99/9999") will solve my issue , but that is not what i supposed to do ....
Sorry if it is a simple question . . .