Calculating number of days left ot my birthday

  • Thread starter Keith Yong via AccessMonster.com
  • Start date
K

Keith Yong via AccessMonster.com

Hi,

Given the date of birth and the system date in dd/mm/yyyy format, how do i calculate the number of days left to my birthday?

ie: If my DOB is 16/08/1968 and system date is 20/08/2005, how do i get the expression to calculate the number of days to my birthday be 4?

thanks a million
 
J

JohnFol

try this
DateDiff("d", Date(), DateSerial( Year(Date()), Month(dtMyBirthday),
Day(dtMyBirthday) ) )
 

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

Similar Threads

basage modular 4
Calculating weeks 1
Birthday calculations 10
Calculating Date of next birthday 3
Calculating the Number of Days between two dates 2
Number of days 9
Birthday stuff 21
Calculating a Date 1

Top