Set your env variables, client/server side.
A simple and easy to use javascript library to get all the necessary time related information.