Page 1 of 1
What DateDisplayFormat can be used?
Posted: Mon Mar 11, 2013 8:53 pm
by cklee
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?
Posted: Tue Mar 12, 2013 1:10 am
by LEBAS
Hi,
Look at Programming LongRange with RPG then search 'DateTimeValueFormat' which give some samples for 'format string'.
Regards,
Yann
Re: What DateDisplayFormat can be used?
Posted: Tue Mar 12, 2013 7:31 pm
by cklee
Hi Yann,
Are those examples already the whole list?
Re: What DateDisplayFormat can be used?
Posted: Tue Mar 12, 2013 10:38 pm
by LEBAS
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?
Re: What DateDisplayFormat can be used?
Posted: Wed Mar 13, 2013 10:27 am
by Paul
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?
Posted: Wed Mar 13, 2013 1:55 pm
by cklee
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?
Re: What DateDisplayFormat can be used?
Posted: Wed Mar 13, 2013 3:19 pm
by Paul
Not that I know of. Sorry.