setShowTime in CRM 2013 to show Time for DateTime Control

setShowTime method can be used to show time along with date for the DateTime control.

Xrm.Page.getControl(arg).setShowTime(bool)

 

Xrm.Page.getControl('createdon').setShowTime(true);

 

 

Cheers,

Shraddha Dhingra