Add the below function in the onload of the lead form
function getMonth()
{
debugger;
var Day=Xrm.Page.getAttribute("createdon").getValue().toString().substring(0,3);
alert(Day);
//you will get the output as Tue
}
Now open an existing lead record then the alert will show the Day of the lead createdon.
function getMonth()
{
debugger;
var Day=Xrm.Page.getAttribute("createdon").getValue().toString().substring(0,3);
alert(Day);
//you will get the output as Tue
}
Now open an existing lead record then the alert will show the Day of the lead createdon.