Setting closure time and date