Hi guys, I'm still a beginner when it comes to programming, and I'm stuck on how I could logically write this block of code. A small example or point in the right direction would be awesome.

I'm working on a VBS to help automate some monotonous tasks I do at work. Dates have to be correct to assure our suppliers keep good ratings.

I have a Posting date which is the date we actually receive goods on our dock, and I have Statistical delivery dates which is the dates the parts can be received into our system to keep a good standing.

The posting date can be 4 days before the statistical delivery date, or 1 day after the statistical date.

I cant subtract days from a date, can I?