getting day information from database