web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Insert Date and time with second or millisecond using RESTAPI

(0) ShareShare
ReportReport
Posted on by

Hi All,

I want Insert Date and time with second or millisecond using RESTAPI

Note:-Data Type is Dateandtime

Currently i am getting Minutes only , below is my code:-

var new_tracker = {};
new_tracker.new_CurrentStatus = "date new tracker data ";
new_tracker.new_name = "This tracker was created by the JavaScriptRESTDataOperations sample.";


new_tracker.new_StartTime = new Date();   HERE IS MY VARIABLE TO INSERT for date time

SDK.REST.createRecord(
new_tracker,
"new_tracker",
function (new_tracker) {
retrieveTracker(new_tracker.new_trackerid)
},
errorHandler
);

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    Check request that is sent to server using Fiddler and post it here.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans