Get Time from Date & Time
Views (1030)
Implementation Steps:
Create a WebResource in Dataverse Environment
function getTime(executionContext)
{
var formContext = executionContext.getFormContext();
var Date = formContext.getAttribute("DATETIMEFIELDLOGICALNAME").getValue();
var Hours = Date.getHours();
var Minutes = Date.getMinutes();
alert(Hours + ":" + Minutes);
}
That's it 🙂

Like
Report
*This post is locked for comments