code: function makeDateStr(date, sep) {
  	if (sep === undefined) sep = true;
  
  	var year = date.getUTCFullYear().toString(),
  		month = padNum(date.getUTCMonth()+1),
  		day = padNum(date.getUTCDate()),
  		hours = padNum(date.getUTCHours()),
  		minutes = padNum(date.getUTCMinutes()),
  		seconds = padNum(date.getUTCSeconds());
  
  	if (sep) {
  		return year + '-' + month + '-' + day + ' ' + hours + ':' + minutes + ':' + seconds;
  	} else {
  		return year + month + day + hours + minutes + seconds;
  	}
  }
docs: Converts Date object into strings of form "yyyy-mm-dd hh:mm:ss"