It’s always measured in time, from when you first use it. So 24h access starts and finishes at the same time, one day apart. It’s not measured by online usage.