Date.prototype.SQLDateTimeString(){return this.formatDateTime("'#MM#/#DD#/#YYYY# #hhh#:#mm#:#ss#'")} Date.prototype.SQLDateString(){return this.formatDateTime("'#MM#/#DD#/#YYYY#'")} //Requries FormatDateTime.js