Second-order differential operators on closed sets (time scales) are considered. Properties of their spectral characteristics are obtained and inverse problems are studied, which consists in recovering the operators from their spectral characteristics. We establish the uniqueness and develop constructive algorithms for the solution of the inverse problems.