Question

2
Replies
73
Views
MohanP1794 Member since 2014 5 posts
Aaseya IT Services Pvt. Ltd.
Posted: 5 months ago
Last activity: 5 months ago
Solved

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

Pega Platform 7.3.1 Data Integration Java and Activities Manufacturing and High Technology Senior System Architect
Share this page LinkedIn