Q:

Can I change the output format of the "last" command to display the year?

I'm trying to find a way to report
the year of the last log entry in a log file.
I've tried using the "last" command, but it doesn't seem to have an option to display the year.
Is there a way to change the output format of the "last" command to display the year?

A: