ulteam-scripts DateFormat
DateFormat class
Light and simple date format
Properties
| Name | Static | Description | |-|-|-|
Methods
Name | Returns | Static | Description |
---|---|---|---|
get(date: any, mask: undefined | string, language: string | DateFormatLanguage, utc: undefined | false | true) | string | Static |
Regexes and supporting functions are cached through closure date: ** mask: ** language: ** utc: ** |
getMonthName(date: Date, fullName: undefined | false | true, language: DateFormatLanguage) | string | Static |
Get month name. date: JS Date object. fullName: Full month name or just first 3 characters. language: Default is English. |
getMonthNameByNumber(monthNumber: number, fullName: undefined | false | true, language: DateFormatLanguage) | string | Static |
Get month name. monthNumber: JS Date month number. fullName: Full month name or just first 3 characters. language: Default is English. |