Date
extension Date
-
Create a date from specified parameters
Declaration
Swift
static func from(year: Int, month: Int, day: Int) -> Date?Parameters
yearThe desired year
monthThe desired month
dayThe desired day
Return Value
A
Dateobject
Date Extension Reference