title: converting an float to NSDate
body: <p>I want to convert a float to a NSDate</p>
  
  <p>I converted a NSDate into a float using this:</p>
  
  <pre><code>// Turn the date into Integers 
  NSCalendar *calendar= [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar];  
  NSCalendarUnit unitFlags = NSHourCalendarUnit | NSMinuteCalendarUnit | NSSecondCalendarUnit;  
  NSDateComponents *dateComponents = [calendar components:unitFlags fromDate:nsdate_wakeTime];  
  NSInteger hour = [dateComponents hour];  
  NSInteger min = [dateComponents minute];  
  
  //Convert the time in 24:60 to x.x format.
  float myTime = hour + min/60; 
  </code></pre>
  
  <p>after some math stuff I do on the mytime variable i get a bunch of other times in the same float format.</p>
  
  <p>How do I turn a float into a NSDate?</p>
  
  <p>Thanks!</p>