Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Unable to enter formatted date value in datetime control

SA-42885

Summary



User has configured date control as "Allowed text entry radio is selected" with custom format(DD-MMM-YYYY).

At runtime, user has provided 08-JAN-2017 value, however it is giving Incorrect format error:

Error Messages



"DD-MMM-YYYY is an incorrect format."


Steps to Reproduce



Configure DateTime control as:




Root Cause



A software use or operation error: It is an expected behavior.

Resolution



Here’s the explanation for the reported behavior:

User configured date time control in presentation tab is only the Read only format.

The specified format will be displayed while the focus is in out of the date time control. This is an expected behavior of date time control.​

Also advisable to use the locale settings. If the locale settings is not set , the date time control will take the browser default locale setting.



Suggest Edit

Published November 7, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us