How to get the last offline time of a user

as the titile.

Does openfire have a function to get the time of a user offline?

I’ve been looking for a long time.

thanks.