Question

1
Replies
18
Views
Kailash Chaudhary (KAILASHC)
Virtusa
Lead Systems Architect
Virtusa
US
KAILASHC Member since 2011 3 posts
Virtusa
Posted: April 30, 2021
Last activity: May 3, 2021
Posted: 30 Apr 2021 0:23 EDT
Last activity: 3 May 2021 2:53 EDT

Incorrect Date to date time property conversion

I have date property whose value get set to another datetime property. Date time property value get the time GMT and shows one day less.

Server is on EST time zone

For example:

DateProp Property = 20210430

Do a property set to DateTimeProp = DateProp

Value of DateTime Prop = 20210430T000000.000 GMT which is nothing but 20210429 in eastern time.

Since server is in eastern time zone, it should convert the date to datetime equivalent is EST.

Is there way to achieve this?

 

***Edited by Moderator: Pooja Gadige to add platform capability tag***
Pega Platform 8.2.1 Case Management User Experience Healthcare and Life Sciences