Question
HCL
IN
Last activity: 17 Feb 2021 10:20 EST
Date Control Insted of displaying "DD/MM/YYYY" it is displaying as "D/MM/YYYY"
We have a date control property in our application formatted as "DD/MM/YYYY" so when we are picking dates from 1-10 instead of displaying 01/10/2019 it is displaying as 1/10/2019.
Please help me with this requirement.
Thanks in advance.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Goldman Sachs Group Inc
IN
Hi @SrighakollapuS,
The available formats would be M/D/YY, M/D/YYYY, MM/DD/YY or MM/DD/YYYY and others as below
If you want to display the date in "DD/MM/YYYY" Format, you would have to choose custom date format and give DD/MM/YYYY. This format would be displayed if field is Read-only. If you want to see this format while the field is editable you have to enable " Display value using read-only formatting".
Hi @SrighakollapuS,
The available formats would be M/D/YY, M/D/YYYY, MM/DD/YY or MM/DD/YYYY and others as below
If you want to display the date in "DD/MM/YYYY" Format, you would have to choose custom date format and give DD/MM/YYYY. This format would be displayed if field is Read-only. If you want to see this format while the field is editable you have to enable " Display value using read-only formatting".
At run time , after the date is selected when you tab out that field it will display the date in the mentioned format.
Hope this helps in achieving your requirement.
Regards,
Priyabharathi
CommonWealth Bank of Australia
IN
Hi,
Try setting the date format as custom and specify the desired format.
Where are you trying to show the date ?
Regards,
Tekclan Software Solutions
IN
Pegasystems Inc.
IN
Hello,
Thank you for posting your query in Pega Support Community!
If you want to display the date in "DD/MM/YYYY" format you can perform the below local change in the section where the date property/control is being displayed in your application.
Navigate to the Presentation tab of the DateTime control in the section. Enable "Display value using read-only formatting" checkbox to display the date time value in the desired format.
Under "Read-Only Format" choose the desired date format to display the value as per your business requirement.
Hello,
Thank you for posting your query in Pega Support Community!
If you want to display the date in "DD/MM/YYYY" format you can perform the below local change in the section where the date property/control is being displayed in your application.
Navigate to the Presentation tab of the DateTime control in the section. Enable "Display value using read-only formatting" checkbox to display the date time value in the desired format.
Under "Read-Only Format" choose the desired date format to display the value as per your business requirement.
Hope this helps!
Thanks,
Geeda.
-
Subba Reddy K
HCL
IN
Thanks,
Above scenario has worked
Accepted Solution
Goldman Sachs Group Inc
IN
Hi @SrighakollapuS,
The available formats would be M/D/YY, M/D/YYYY, MM/DD/YY or MM/DD/YYYY and others as below
If you want to display the date in "DD/MM/YYYY" Format, you would have to choose custom date format and give DD/MM/YYYY. This format would be displayed if field is Read-only. If you want to see this format while the field is editable you have to enable " Display value using read-only formatting".
Hi @SrighakollapuS,
The available formats would be M/D/YY, M/D/YYYY, MM/DD/YY or MM/DD/YYYY and others as below
If you want to display the date in "DD/MM/YYYY" Format, you would have to choose custom date format and give DD/MM/YYYY. This format would be displayed if field is Read-only. If you want to see this format while the field is editable you have to enable " Display value using read-only formatting".
At run time , after the date is selected when you tab out that field it will display the date in the mentioned format.
Hope this helps in achieving your requirement.
Regards,
Priyabharathi