Is there a way to see how long a client was connected?

Linking to another similar post which is a feature request: