getLocalizedTime( date ) method

Timezone

Syntax

<static> getLocalizedTime( date ) → {string}

Parameters

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

Returns

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

Type:

string

Example

var sT = hwc.getLocalizedTime( date );

Source

Timezone.js, line 163.