Question
Aaseya IT Services Pvt. Ltd.
GB
Last activity: 15 May 2020 13:20 EDT
FormatDateTime function is not returning correct result in CST timezone
Hello all,
Formatdatetime function is working properly for most of the time but sometime in a day it is giving wrong result. For example, consider the below scenario:
@(Pega-RULES:DateTime).FormatDateTime("20200515T051700.000 GMT", "yyyy-MM-dd hh:mm:ss", "CST", "")
Output CST Time : 2020-05-15 12:17:00
Expected Output : 2020-05-15 00:17:00
It seems to be am/pm issue. Please let me know if you have come up across similar issue.
Early response will be highly appreciated!
Note: We are using Pega V7.3.1
Thanks,
Mohan Pawar