Search This Blog

Wednesday, July 12, 2017

Set Current date and time in feild using Javascript in crm 2015

function settodaydate()
{
var currentDateTime = new Date();
Xrm.Page.getAttribute("fieldname").setValue(currentDateTime);
}

No comments:

Post a Comment