Support Article
FormatDateTime function increments the date by a year
SA-76008
Summary
The FormatDateTime function increments the date by a year.
Error Messages
Not Applicable
Steps to Reproduce
In an activity, use the FormatDateTime function to utilize the property set for the date .
For example: @FormatDateTime("19971228T000000.000 GMT","dd/MM/YYYY",null,null).
Verify the value.
Root Cause
An issue in the custom application code or rules.
Resolution
Perform the following local-change:
Use the year 'yyyy' (lowercase y) for the year instead of 'YYYY' (uppercase YYYY represents the Week year).
Published March 26, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.