moved time conversion to server side