title: Truncate time from NSDate SWIFT
body: <p>i want to get current date as SEP 15,2015.I tried first removing the time from NSDate using as </p>
  
  <pre><code>  let calendar = NSCalendar.currentCalendar()
    let components = calendar.components(.CalendarUnitDay | .CalendarUnitMonth | .CalendarUnitYear, fromDate: date)
    let currentdate = NSCalendar.currentCalendar().dateFromComponents(components)
    println(currentdate)
  </code></pre>
  
  <p>However that doesnot truncates time also used this method and it gives me individual components</p>
  
  <pre><code>let date = NSDate()
  let calendar = NSCalendar.currentCalendar()
  let components = calendar.components(.CalendarUnitDay | .CalendarUnitMonth | .CalendarUnitYear, fromDate: date)
  let year =  components.year
  let month = components.month
  let day = components.day
  let monthname = components.weekday
  </code></pre>
  
  <p>But the problem is i get the month in <code>int</code> with the second method.I want correspondoing <code>1</code> as <code>January</code>.How do i acheive my result?</p>