Is it normal that months are numbered 0-11? Having debugged my application to the point at which I thought I was going mad, I tried the following and the month of the date is February!!
var CSVbuf = globals.gvl_Buf.split(',');
var lvCallDate = new Date();
lvCallDate.setFullYear(CSVbuf[0].substr(0,4));
//lvCallDate.setMonth(CSVbuf[0].substr(8,2));
lvCallDate.setMonth(1);
lvCallDate.setDate(CSVbuf[0].substr(8,2));
lvCallDate.setHours(CSVbuf[0].substr(11,2),CSVbuf[0].substr(14,2),CSVbuf[0].substr(17,2));