Added timezone to our constant date, because it matters SOMETIMES and causes ephemeral issues in at least the Chrome browser. Also moved the var out of the function since it only needs to be set once.