"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const toDate = require("./toDate.cjs");
function getTimezoneOffsetInMilliseconds(date) {
  const _date = toDate.toDate(date);
  const utcDate = new Date(
    Date.UTC(
      _date.getFullYear(),
      _date.getMonth(),
      _date.getDate(),
      _date.getHours(),
      _date.getMinutes(),
      _date.getSeconds(),
      _date.getMilliseconds()
    )
  );
  utcDate.setUTCFullYear(_date.getFullYear());
  return +date - +utcDate;
}
exports.getTimezoneOffsetInMilliseconds = getTimezoneOffsetInMilliseconds;
//# sourceMappingURL=_lib-getTimezoneOffsetInMilliseconds.cjs.map
