Using DATEDIFF()

Moderators: statman, Analyst Techy, andris, Fierce, GerineL, Smash

Revolware
Posts: 1
Joined: Sat Apr 19, 2014 7:19 pm

Using DATEDIFF()

Postby Revolware » Sat Apr 19, 2014 7:36 pm

I got this exercise:

"Calculate the age of the students whose year of birth is collected in the FEC_NAC field"

I propose to use

DATEDIFF(FEC_NAC,$DATE,"years")

...is this right?

Thanks...

Alberto

Who is online

Users browsing this forum: No registered users and 2 guests

cron