What DateDisplayFormat can be used?
What DateDisplayFormat can be used?
Could anyone advise what value could be specify in DateDisplayFormat? For instance, I would like to display the date as 11 March 2013. Is that feasible?
Re: What DateDisplayFormat can be used?
Hi,
Look at Programming LongRange with RPG then search 'DateTimeValueFormat' which give some samples for 'format string'.
Regards,
Yann
Look at Programming LongRange with RPG then search 'DateTimeValueFormat' which give some samples for 'format string'.
Regards,
Yann
Re: What DateDisplayFormat can be used?
Hi Yann,
Are those examples already the whole list?
Are those examples already the whole list?
Re: What DateDisplayFormat can be used?
Hi,
To do more, it seems that you need to code (see example Calendars and Date Pickers in the demo application). May be Mark(s) have more info?
To do more, it seems that you need to code (see example Calendars and Date Pickers in the demo application). May be Mark(s) have more info?
-
Paul
Re: What DateDisplayFormat can be used?
If you use the date display format string 'dd MMMM yyyy' you should get the desired format. The programming guides try to explain that date componenents are the important point and they can be arranged to suite your requirements. 'MMMM' for month full name is missing. The programming guides will be revised to make this clearer.
Re: What DateDisplayFormat can be used?
Thanks Paul, it works only that it display a Chinese month (as my phone is using Chinese language). Is there any way to force it to display in English?