You need 3 days atleast. One day for Sun temple and all its history, one for Sri Jagannath temple, and one for Chilika Lake. You can do this in lesser time, but it will be hectic. The temples are wonderful. You get a nice experience. Stay away from the 'Pandas' or priests, and do Darshan on your own.