Converts the given Date object to the device's local time, and returns the new Date.
<static> convertUtcToLocalTime( date ) → {Date}
Name | Type | Description |
date | Date | Date to be converted, initialized to some valid UTC time. |
Returns the converted Date object.
[/reference/refbody/section/sectiondiv {""})Type:
Date
(sectiondiv]var localDate = hwc.convertUtcToLocalTime( date );