whole_func_string: function getObjFromDate(date, adjustTimezone) {
    var obj = {
      year: date.getYear(),
      month: date.getMonth(),
      day: date.getDay(),
      hours: date.getHours(),
      minutes: date.getMinutes(),
      seconds: date.getSeconds()
    }
  
    if(adjustTimezone) {
      if(obj.minutes != undefined && date.getTZMinutes() != undefined) {
        obj.minutes += date.getTZMinutes();
      }
  
      if(obj.hours != undefined && date.getTZHours() != undefined) {
        obj.hours += date.getTZHours();
      }
    }
    return obj;
  }
func_code_string: function getObjFromDate(date, adjustTimezone) {
    var obj = {
      year: date.getYear(),
      month: date.getMonth(),
      day: date.getDay(),
      hours: date.getHours(),
      minutes: date.getMinutes(),
      seconds: date.getSeconds()
    }
  
    if(adjustTimezone) {
      if(obj.minutes != undefined && date.getTZMinutes() != undefined) {
        obj.minutes += date.getTZMinutes();
      }
  
      if(obj.hours != undefined && date.getTZHours() != undefined) {
        obj.hours += date.getTZHours();
      }
    }
    return obj;
  }
func_documentation_string: Returns an object representing a date, optionally normalizing to UTC time.