Swift Date Formatter
Date Formatter - Sample code on how to use Date Formatter in swift language
Author: Denow Cleetus
For OSSE Assignment 4
Group 24
Modified by: Deepesh Rohra [11/06/2021]
Contributed by: Desh Deepak Yadav [11/06/2021]
Usage
Swift Code
let date = Date()
let format = "yyyy-MM-dd"
let text = Utils.getFormattedStringFromDate(date: date, format: format)
print("Formatted Text: \(text)")