If you want to explore Dehradun completely then the time period of two night in three days are more than sufficient.