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.
Printable View
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.
this will subtract 5 days
VB Code:
DateAdd("d", -5, Date)
yu can use cdate fundtion, adn can subtract