I have this \"1273636800000\" and I want to convert it to this format \"Wed Mar 03 2010 00:00:00 GMT-0500 (EST)\"
I need to convert this milliseconds to NSDate forma
A simple one-line Swift 2 function:
func dateFromMilliseconds(ms: NSNumber) -> NSDate { return NSDate(timeIntervalSince1970:Double(ms) / 1000.0) }