Time limit for weight loss goal

If you have a large amount of weight to loose and are all in and committed to doing all the work required to get there, is it a good idea to set a goal date as well or is it better just to be committed all the way through to you reaching your target weight?