swift 5 today's date with time code example Example: swift 5 get current date date Swift 5 let currentDate = Date()