Apply
methodsAdds the time difference between the current and the passed timezones to a new date object.
Parameters:targetDateDate
offsetNumber|String
Returns:Date
The date that will be converted with the time difference between the current and passed timezones.
The offset represented as minutes (that is, the Number type) or timezone (that is, String).
A new date object that includes the time difference between the current and the passed timezones.