Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let dateFormmater:DateFormatter = DateFormatter()
- dateFormmater.dateFormat = "yyyy-MM-dd hh:mm:ss"
- //dateFormmater.timeZone = TimeZone.current
- //dateFormmater.locale = Locale.current
- let utcDate = dateFormmater.string(from: now)
Add Comment
Please, Sign In to add comment