Date Code for 180 reminder

R

RDVS

I have a database using access that presently takes an input date
(MaxOfDates) and creates a reminder for the next quarter and the quarter
after. Can't remmeber how to modify it because after using it for some time,
this requirement has changed.

This is the code in use:
Ground Egress due Date:
DateSerial(Year([MaxOfDates]),((Month([MaxOfDates])-1)\3)*3+4,1)

How do I modify the code to reflect the MaxOfDates plus 180 from that date?
 
R

RDVS

That depends. if the 6 months is exactly 6 months or a true 180 days. It
must be 180 days beyond, reflecting the various days/month
 
D

Dirk Goldgar

RDVS said:
That depends. if the 6 months is exactly 6 months or a true 180 days. It
must be 180 days beyond, reflecting the various days/month

If you want exactly 180 days, not 6 months, then use

DateAdd("d",180,[MaxOfDates])
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top