getLocalizedDateTime( date ) method

Timezone

Syntax

<static> getLocalizedDateTime( date ) → {string}

Parameters

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

Returns

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

Type:

string

Example

var sDT = hwc.getLocalizedDateTime( date );

Source

Timezone.js, line 75.