user logon details

how can i identifying whose are logged in last few days,time and date also want. what i will do for get that information

use last command to get the list

last

i am fresher in solaris. i am looking helpful mind

thank you very much