Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

2.25 DateDiff - Calculating Age in Access using Date of Birth

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
30,790
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 22, 2008

Using the DateDiff function to work out age from birth date

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (Firchild)

  • how do i do this in Access 2010????????????

  • @Targus19 Exactly as it is here.

  • Hi, I wanted to say that I love this function. It's great. However, I have done this and for some reason, it's calculating incorrectly??? It is behind by two months. I checked my time/date setting on the lower left hand side of the computer and it is correct. Is there another area that I need to adjust this so it is correct?

  • @tmkm130 Hmmm. that's a funny one. Normally that would be a system clock issue. So I'm a bit at a loss there, sorry!

  • However, doesn't work in czech short date format: dd.mm.yyyy

    Still returns error like Invalid syntax.

  • @kartovo Dunno, I'm not Czech

see all

All Comments (44)

Sign In or Sign Up now to post a comment!
  • Thank you worked fine for me =)

  • Thanks for the DateDiff tip. Do you know how to calculate age using DOB and specific date instead of now? thanks.

  • @tmkm130 I had a similar issue with the year being off by one. I found this DateDiff("yyyy",[DOB],Now())+I­nt(Format(Now(),"mmdd")<Format­([DOB],"mmdd")) and it works for me. Firchild is still the pro though I just got lucky.

  • @tmkm130 replace now() with [the field name] and it should work

  • Fair play. I love you. Your accent reminds me of my home town Swansea

  • Beautiful! Just Beautiful!!!! Thank you for posting.

  • Appreciate this mate, I prefer to watch a YT vid of how to do something as opposed to reading a written tutorial :)

  • @Targus19 2010 does the same things a the prior Office programs but has more abilities. So if it can be done here it can be done there the same way.

  • nice

    thank you

  • @Targus19 I dind't worked out for me in Access 2010, so i used semicolons(;) instead of commas(,). No idea why, but it worked for me!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more