 		}
 	}
 
+	public func setupTimeArray24() {
+
+		lblAMPM.hidden = true
+		lblAMPM2.hidden = true
+
+		for _ in 0...8 {
+			arr.append("")
+		}
+
+		for i in 0...23 {
+			for x in 0 ..< 4 {
+
+				if x == 0 {
+					arr.append("\(i):00")
+				} else {
+					arr.append("\(i):\(x * 15)")
+				}
+			}
+			table.reloadData()
+		}
+
+		for _ in 0...8 {
+			arr.append("")
+		}
+	}
+
 	// MARK: Button Methods
 	func butSave() {
 
 		let time = self.lblDetail.text!
 		let time2 = self.lblDetail2.text!
 
-		delegate?.didPickTime(time + " \(self.lblAMPM.text!)", end: time2 + " \(self.lblAMPM2.text!)")
+		if timeType == .hour12 {
+
+			delegate?.didPickTime(time + " \(self.lblAMPM.text!)", end: time2 + " \(self.lblAMPM2.text!)")
+		} else {
+
+			delegate?.didPickTime(time, end: time2)
+		}
 
 		self.navigationController?.popViewControllerAnimated(true)
 	}

		self.view.addSubview(bottomDetailMainShade)
	}

	public func setupTimeArray() {

		for _ in 0...8 {
			arr.append("")

		self.title = "Change Time"
		self.view.backgroundColor = UIColor(red: 255 / 255, green: 128 / 255, blue: 0, alpha: 1)

		setupTables()
		setupDetailView()
		setupBottomDetail()
		setupNavigationBar()
		setupTime()

	}

	override public func didReceiveMemoryWarning() {
