Skip to content

Instantly share code, notes, and snippets.

@maccevedor
Created July 3, 2014 20:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maccevedor/1c228db9d5d350e92284 to your computer and use it in GitHub Desktop.
Save maccevedor/1c228db9d5d350e92284 to your computer and use it in GitHub Desktop.
Calcular Edad con mysql
SELECT TIMESTAMPDIFF(YEAR, Campo , CURDATE()) AS age
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment