Will this line throw an error as well if TZ doesn't recognize the timezone. If so, I think this code is fine. If not, we can do the catch code in the `if (!date.getTimezone()) {` statement.