This would be better as a closure-local function than a method. Doesn't this also assume that the user's time zone in Harvest is the same as their time zone in Zendesk (and/or the browser)?