Several days, at least! Glacier National Park is big enough that you can spend a few days exploring the park, not to mention all of the other nearby activities. You could easily spend a week or more in Whitefish and not experience it all.