Do it in two steps. Use string() to format the date into a string and then use substring to pick apart the pieces and create a new string with the formatted date in it. Then display/use the second string.
Date format is basically specified at the installation time that which format will be usedfo storing the date field. but for display purpose on the GUI it is always possible to display in the format you want.
Hi, there are three place to change your date format, 1. when initialization of progress. 2. if you are maintaining .pf file (parameter file) to run your application 3. you can specify the format of fill-in widget whatever it is. If you need in the category of no.2, You may specify in that .pf file As, -d ymd -yr4def The above two parameters keep your format for every date type field in your application. And you check you code like, MESSAGE "Hello your date format is now: " TODAY VIEW-AS ALERT-BOX INFO BUTTONS OK.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.