Count down days

  • Thread starter Thread starter SoggyCashew
  • Start date Start date
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?
 
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))
 
Back
Top