getLocalizedDate( date ) method

Timezone

Syntax

<static> getLocalizedDate( date ) → {string}

Parameters

Name Type Description
date Date Date to be localized, initialized to some valid time.

Returns

Returns a localized date string, or undefined if platform is unsupported.

Type:

string

Example

var sD = hwc.getLocalizedDate( date );

Source

Timezone.js, line 119.