Using CSR I am able to set value of date field, but for time field it's not working. following code works for date field without time:
ctx.CurrentFieldValue = "01/01/2015";
return SPFieldDateTime_Edit(ctx);
but for datetime field with "Date & Time" I do not know in which format I should pass the date time value:
I think there I am passing time value in a wrong format 01/01/2015 01 AM 05 - not working 01/01/2015 10PM 05 - not working
ctx.CurrentFieldValue = "01/01/2015 01 AM 05";
return SPFieldDateTime_Edit(ctx);
what is the correct format?