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