Date Builder
function Date_Builder (d)
{
var dateString = new String();
with (d) {
var dmon = new String('0'+(1+getMonth()).toString());
var dday = new String('0'+getDate().toString());
var dyr = new String(getFullYear().toString());
var dhr = new String('0'+getHours().toString());
var dmin = new String('0'+getMinutes().toString());
var dsec = new String('0'+getSeconds().toString());
dateString += " " + (dmon.length > 2? dmon.slice(1): dmon);
dateString += "/" + (dday.length > 2? dday.slice(1): dday);
dateString += "/" + dyr;
dateString += " " + (dhr.length > 2? dhr.slice(1): dhr);
dateString += ":" + (dmin.length > 2? dmin.slice(1): dmin);
dateString += ":" + (dsec.length > 2? dsec.slice(1): dsec);
}
return dateString;
}