I don't know if there is a command to show such port history.
Link state changes are written to the switch log, so you can search for it there:
display logbuffer reverse | inc 2/0/2
Of course, if the port has been up for months then the log entries are probably overwritten. In that case, you could do logging to a syslog server and search there.