Time switches for commercial and domestic use