How is the initial connection duration calculated?

How is the initial connection duration calculated?

The total duration of TCP and TLS is referred to as the "Initial connection."

TCP Handshake: This measures the time it takes to complete the TCP handshake, which includes establishing the connection between the client and server.

TLS/SSL Negotiation (if applicable): This measures the time it takes for the client and server to negotiate and establish a secure TLS/SSL connection, including the exchange of encryption keys and certificates (if SSL/TLS is used).