Does anyone know of a way to subtract a date unit from a date?

Basically I want to be able to subtract a week or month or year from a date.