parseDate

[ Function ]

public static parseDate(
    date: Date,
    options?: Localization.ParserOptions,
): Localization.DateParts;

Analyzes a date object, formats it to a time zone and splits its components into an object

Parameter

Name

Type

Description

date

Date

Date

Options [ optional ]

Localization.ParseOptions

Parser settings

Return value

Type

Description

Localization.DateParts

Returns an object of type Localization.DateParts that contains the individual components, formatted for the corresponding time zone.

parseDate 1:

Available from version 1.10.1336.10