What DateDisplayFormat can be used?

Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
Post Reply
cklee
Posts: 13
Joined: Fri Feb 08, 2013 7:05 pm

What DateDisplayFormat can be used?

Post 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?
LEBAS
Posts: 23
Joined: Fri May 11, 2012 5:02 pm

Re: What DateDisplayFormat can be used?

Post by LEBAS »

Hi,
Look at Programming LongRange with RPG then search 'DateTimeValueFormat' which give some samples for 'format string'.

Regards,
Yann
cklee
Posts: 13
Joined: Fri Feb 08, 2013 7:05 pm

Re: What DateDisplayFormat can be used?

Post by cklee »

Hi Yann,

Are those examples already the whole list?
LEBAS
Posts: 23
Joined: Fri May 11, 2012 5:02 pm

Re: What DateDisplayFormat can be used?

Post 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?
Paul

Re: What DateDisplayFormat can be used?

Post 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.
cklee
Posts: 13
Joined: Fri Feb 08, 2013 7:05 pm

Re: What DateDisplayFormat can be used?

Post 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?
Paul

Re: What DateDisplayFormat can be used?

Post by Paul »

Not that I know of. Sorry.
Post Reply