Hello I want to subtract days, months or a year from my current date. I can use this code to create a date which is one week away from the current date.
let date = Date().addingTimeInterval(TimeInterval(86400*7))
Is it possible to create a date which is one week in the past from the current date?