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

Date Time Format incorrect



When exporting the report or scheduling a report, the date time format is fetched in US Date Format.

Error Messages

Not Applicable

Steps to Reproduce

  1. Create a New Report and include a Date Time property.
  2. Run the report and click on Export to excel and in excel the date time format is in US date format instead of Australian format (DD/MM/YYYYY) . Also, schedule this report and the report gets delivered to your mailbox. When you open the excel, the date time format is in US Date format.

Root Cause

A defect or configuration issue in the operating environment
Locale settings are not configured properly

Pega was able to fix this issue with the solutions mentioned below. But, the users are leveraged to create their own reports in our application.

Every time the users create a new report with date time property we need to configure the control manually.

So, user needs a product fix to display the dates in Australian date format in UI, In export to excel and in schedule reports instead of configuring for each and every report.


Perform the following local-change steps:

1. For export to excel - Changing the Use Locale to 'en_AU' from the locale settings resolves the issue.
2. For scheduled reports - By calling an activity 'UpdateLocaleSettings' in the 'pyExecuteTask' activity by passing the locale as 'en_AU' as parameter resolves the issue.

Published March 11, 2017 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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