Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2022 Release Wave 2Check out the latest updates and new features of Dynamics 365 released from October 2022 through March 2023
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
Note: waitingdatevalue has the date value from Odata.
var dt = waitingdatevalue.replace("/Date(", "").replace(")/",""); var dateValue = new Date(parseInt(dt, 10));
what is the value of the waitingdatevalue variable?
the waitingdatevalue is 2017-07-26T13:35:58Z
It seems you just need something like this then:
dateValue = new Date(waitingdatevalue);
dateValue = dateValue.toISOString();
So I figure it out. I just had to convert it to ".toString()".
Thanks for your help.
Business Applications communities