Answers for "s yyyy-MM-dd HH:mm:ss Short Date Local"

VBA
1

s yyyy-MM-dd HH:mm:ss Short Date Local

func DateFromWebtoApp(_ date: String) -> String {
    let dateFormatter = DateFormatter()
    dateFormatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
    let date = dateFormatter.date(from: date)
    dateFormatter.dateFormat = "MM-dd-yyyy"
    return  dateFormatter.string(from: date!)
}
Posted by: Guest on December-04-2020

Code answers related to "s yyyy-MM-dd HH:mm:ss Short Date Local"

Code answers related to "VBA"

Browse Popular Code Answers by Language