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?
Date issue in *EUR
-
k2R400
- Profound User
- Posts: 64
- Joined: Sat Feb 18, 2012 12:03 pm
- First Name: Patrick
- Last Name: THOMAS
- Company Name: Oo2
- Country: France
- Contact:
Date issue in *EUR
- Attachments
-
- pattern.png (93.77 KiB) Viewed 478 times
-
- f1.json
- (753 Bytes) Downloaded 14 times
-
k2R400
- Profound User
- Posts: 64
- Joined: Sat Feb 18, 2012 12:03 pm
- First Name: Patrick
- Last Name: THOMAS
- Company Name: Oo2
- Country: France
- Contact:
Re: Date issue in *EUR
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.
- Attachments
-
- jira-generated-image-3.jpeg (69.46 KiB) Viewed 300 times
-
- jira-generated-image-1.jpeg (68.84 KiB) Viewed 300 times
Who is online
Users browsing this forum: No registered users and 1 guest