Just go through the manual page of 'shadow'.
However, if you will check
/etc/shadow file, its 3rd field is for last change, that is, number of day between Jan 1, 1970 and the date that the password was last modified.
Thus, calculate time elapsed between today and 1970-Jan-1 and substract that value from 3rd field of /etc/shadow, and you will get no. of days that the password was last changed.
As per it's manual:
Code:
~$ man shadow
Each entry in the shadow file has the form:
username: password:lastchg:min:max:warn:inactive:expire:flag
lastchg The number of days between January 1, 1970,
and the date that the password was last
modified. The lastchg value is a decimal
number, as interpreted by atol(3C).