2.25 DateDiff - Calculating Age in Access using Date of Birth
Uploader Comments (Firchild)
All Comments (44)
-
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!
how do i do this in Access 2010????????????
Targus19 1 year ago
@Targus19 Exactly as it is here.
Firchild 1 year ago
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 1 year ago
@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!
Firchild 1 year ago
However, doesn't work in czech short date format: dd.mm.yyyy
Still returns error like Invalid syntax.
kartovo 1 year ago
@kartovo Dunno, I'm not Czech
Firchild 1 year ago