subtract date in access to get age

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have forgotton how to subtract 2 dates in acces to get the age, has anyont
got a quickie for this??

cheers
 
Gord Dibben said:
See Chip Pearson's DATEDIF page.

I think you meant DATEDIFF e.g.

SELECT
DATEDIFF("yyyy", birth_date, NOW()) AS age
FROM
MyTable
;

Jamie.

--
 

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

Back
Top