Question

7
Replies
114
Views
srinivasc6422 Member since 2016 7 posts
virtusa technologies india pvt ltd
Posted: 2 years ago
Last activity: 2 years 7 months ago
Closed

DateTimeFormat Is Incorrect after Upgrade

Hello,

Problem:

The value of ReturnedDate should hold time zone specific date time value in equivalent GMT format. This behavior was working in Pega version 6 and not in Version 7.

Properties Used:

1. LDate Date data type

2. Returned Date Date Time data type

Logic Used In Activity: In this step property-set method is used

PropertiesName PropertiesValue

Param.LDate @date(Param.Year,Param.Month,Param.Day)

Param.ReturnedDate Param.LDate

Note: The current operator is mapped with America/New_York time zone and calendar is US Default

Steps to reproduce Issue:

Scenario in Pega 6:

when I tested the above scenario in pega version 6,I can see datetimeformat as shown below

Input : 01012017

Output: 01012017T050000.000 GMT

Scenario in Pega 7:

when I tested the above scenario in pega version 7,I can see datetimeformat as shown below

Input : 01012017

Output: 01012017T000000.000 GMT

Can anyone advice how we can achieve this problem in pega 7 version.

ThanksInAdvance

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

SR Exists
Moderation Team has archived post
Share this page LinkedIn