8:00 am to 5:00 pm is considered class time, but if it is a free time when there are no classes, going out is allowed. You can apply for an exit permit at the office and submit it to the main gate security guard.
You are allowed to go out freely after 5pm and on weekends.
Please note, if you want to stay out overnight, there is no problem as long as you get approval from the office in advance.