Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
2 replies
Subscribers
7 subscribers
Views
3350 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Cdt Casting is converting the date time to system timezone
akhilaa
over 7 years ago
Json response is giving date time value as output. We are casting this output to a cdt field (date time field).
We are using a!fromJson to convert the json response and map it to cdt.
The issue is casting is converting date time value to system time zone which is EST.
Example:
Json response is:"LAST_MODIFIED_DATETIME":"1\\/13\\/2017 2:52:00 AM"
a!fromJson("LAST_MODIFIED_DATETIME":"1\\/13\\/2017 2:52:00 AM").LAST_MODIFIED_DATETIME gives
1/13/2017 2:52:00 AM
After casting to cdt the value is :LAST_MODIFIED_DATETIME=1/12/2017 9:52 PM EST
Is there a way we can get the original json output as cdt output?
Why is the cdt altering the value and is there a way to stop the conversion .
OriginalPostID-257592
Discussion posts and replies are publicly visible
Parents
0
aloks0189
Certified Lead Developer
over 7 years ago
Also for more reference, you can go through the reference which is been shared along with this Shared Component
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
aloks0189
Certified Lead Developer
over 7 years ago
Also for more reference, you can go through the reference which is been shared along with this Shared Component
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data