convertUtcToLocalTime( date ) method

Timezone

Syntax

<static> convertUtcToLocalTime( date ) → {Date}

Parameters

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

Returns

Returns the converted Date object.

Type:

Date

Example

var localDate = hwc.convertUtcToLocalTime( date );

Source

Timezone.js, line 210.