# Namespace: dateHelpers

## core.utils. dateHelpers

Набор вспомогательных методов для работы с датами и временем.

Source:
  - utils/utilsApi.js, line 55

### Methods

#### <static> dateISOToDate(dateIsoString) → {Date}

  Takes a date string in ISO8601 format and converts it into a JavaScript `Date` object.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `dateIsoString` | String | Date in ISO8601 format.

  Source:
    - utils/dateHelpers.js, line 175

  ##### Returns:

  JavaScript `Date` object.

  Type
    Date

#### <static> dateToISOString(date) → {Date}

  Takes a date in the format that momentJS supports and converts it into a JavaScript `Date` object.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `date` | String | Date | Object | Date string in ISO8601 format, JavaScript or momentJS date object.

  Source:
    - utils/dateHelpers.js, line 166

  ##### Returns:

  JavaScript `Date` object.

  Type
    Date