Made the time conversion for client side clearer