Controllers with 24-hour time switch