I know that to get the current time, all you have to do it declare a variable as such:
var currentTime = Date()
print(currentTime)
will print something like 2020-07-09 07:00:00 +0000
Is there such as way that I can get the current Time in a specific format yet, still maintaining the type Date?
For example, for the above 2020-07-09 07:00:00 +0000 Instead, I would like to get 2020-07-08 15:00:00 +0000