title: how to get start and end time of today's date in ios?
body: <p>I am getting current date and time by using this code</p>
  
  <pre><code>    let today: NSDate = NSDate()
      let dateFormatter: NSDateFormatter = NSDateFormatter()
      dateFormatter.timeStyle = NSDateFormatterStyle.MediumStyle
      dateFormatter.dateFormat = "yyyy-MM-dd hh:mm:ss"
      dateFormatter.timeZone = NSTimeZone(abbreviation: "SGT");
      print(dateFormatter.stringFromDate(today))
  </code></pre>
  
  <p>but i want to get start time and end time of today’s date </p>
  
  <p>example : 
  <code>12-09-2016 00:00:00 AND 12-09-2016 23:59:59</code></p>
  
  <p>How to get start and end time of current date?</p>