solaris "last" command does not give year information in output
Posted on 2010-01-08
I need to get last login dates of each user on a system in the format dd/mm/yy
however when I run "last" to extract this data I get for eg...
[server:root]#last USERA | head -1
USERA pts/6 server_name Wed Oct 28 11:24 - 12:06 (00:42)
have two problems to consider here..
1. the format is not what I want here (dd/mm/yy)
2. the year informatino seems to be missing from the output
could anyone advise.