function getSeconds(dirtyDate) {
  __WEBPACK_IMPORTED_MODULE_1__lib_requiredArgs_index_js__["a" /* default */](1, arguments);
  var date = __WEBPACK_IMPORTED_MODULE_0__toDate_index_js__["a" /* default */](dirtyDate);
  var seconds = date.getSeconds();
  return seconds;
}
@name getWeekOfMonth
@category Week Helpers
@summary Get the week of the month of the given date.

@description
Get the week of the month of the given date.

### v2.0.0 breaking changes:

- [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).

@param {Date|Number} date - the given date
@param {Object} [options] - an object with options.
@param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}
@param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)
@returns {Number} the week of month
@throws {TypeError} 1 argument required
@throws {RangeError} `options.weekStartsOn` must be between 0 and 6

@example
// Which week of the month is 9 November 2017?
var result = getWeekOfMonth(new Date(2017, 10, 9))
//=> 2