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

Daylight Savings does not happen on using FormatDateTime

SA-41650

Summary



Daylight Savings is not performed during EST to GMT date time conversion in the FormatDateTime function.


Error Messages



Not Applicable


Steps to Reproduce

Convert the time from EST to GMT using the FormatDateTime function.


Root Cause

Incorrect date was displayed, after EST to GMT conversion, as the Daylight Savings time was not taken into consideration by the FormatDateTime function.


Resolution



Use the AddDate function instead of the FormatDateTime function.

Published September 14, 2017 - Updated October 8, 2020

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?

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