Convert
methodsAdds the time difference between two timezones to a new date object.
Parameters:targetDateDate
fromOffsetNumber|String
toOffsetNumber|String
Returns:Date
The date that will be converted with the time difference between two timezones.
The 'from' offset represented as minutes (that is, the Number type) or timezone (that is, String).
The 'to' offset represented as minutes (that is, the Number type) or timezone (that is, String).
A new date object that includes the time difference between two timezones.