## DuDate

Date related methods

View Source DuAEF_Duik_api.jsxinc, line 7317

# Methods

#### # static getMonth(string) → {int}

Gets the month number from a literal localized name. 0 is january, 11 is december

##### Parameters:

Name | Type | Description
--- | --- | ---
`string` | `string` | The month name

View Source DuAEF_Duik_api.jsxinc, line 7341

Returns:
The month number
Type: `int`

#### # static getMonthName(string) → {string}

Gets the month name from an index. 0 is january, 11 is december

##### Parameters:

Name | Type | Description
--- | --- | ---
`string` | `int` | The month index

View Source DuAEF_Duik_api.jsxinc, line 7358

Returns:
The month name
Type: `string`

#### # static toString(date) → {string}

Returns a pretty formatted string representing the date

##### Parameters:

Name | Type | Description
--- | --- | ---
`date` | `Date` | The date

To Do:
  - format option

View Source DuAEF_Duik_api.jsxinc, line 7372

Returns:
The date
Type: `string`