Wednesday, 18 March 2009

Set a datetime field value to 9am today

var vMyDate = new Date();
vMyDate.setHours(9);
vMyDate.setMinutes(0);
crmForm.all.exe_appointmentdate.DataValue = vMyDate;

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home