Page 1 of 1

Date issue in *EUR

Posted: Sat Jan 17, 2026 1:45 pm
by k2R400
I have a screen with a textbox, referencing a database field, which is defined as a date in *EUR format.
When I enter 18.01.2026, there are no issues updating the database.

However, if I specify the field as a date field (instead of a text box) with the correct format, the date is displayed correctly, and the calendar works perfectly.

However, PUI consistently returns a date in ISO format to the RPG, which means nothing works anymore.

Any ideas on how to prevent PUI from performing any conversion when returning to the server and leave the field in *EUR format as it was originally defined?

Re: Date issue in *EUR

Posted: Thu Jan 22, 2026 3:36 pm
by k2R400
Support informed me that simply adding the keyword DATFMT(*EUR) to the keywords field ensures it correctly returns a date in *EUR format. Thank you to support.