Count down days

S

SoggyCashew

Hello, I have a form and I wanted to add a text box that would count down
days left in the current period for the current year. The period is every 4
months so there is 3 periods in a year. How would I do this?
 
K

KARL DEWEY

Try this --
Days Left:
DateDiff("d",Date(),IIf(Date()<=DateSerial(Year(Date()),5,0),DateSerial(Year(Date()),5,0)),IIf(Date()<=DateSerial(Year(Date()),9,1),DateSerial(Year(Date()),9,0)),DateSerial(Year(Date()),12,31))
 

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