CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✗ |
| LangLanguage | SwiftSwift |
| License | MIT |
| ReleasedLast Release | Jun 2016 |
| SPMSupports SPM | ✗ |
Maintained by Carlos Alcala.
NSDateUtils.swift is an extension with helper functions for NSDate written in Swift
NSDate to use in any appimport NSDateUtils
let date = NSDate().dateFromString("10/12/2013")
//using format: EE, LLL d yyyy, HH:mm
let longDate = date.convertToLongString()
//using format: yyyy-MM-dd
let shortDate = date.convertToString()
print(longDate)
print(shortDate)
NSDateUtils.swift is available under the MIT license. See the LICENSE file for more info.