by seeing case type :customer complaints
due date:--------
should populate to 30 days instead of 1 day..And as we added business hour from 7 am - 6pm the code behaving differently as i am confused a lot..
after the business hour finishes(6pm) the due date populates to 1 day.. inside the business hour its working fine