How many hours is the container on

Hi.
I would like to know:

if there is any way of knowing. the total number of hours that a container has been working throughout its life cycle

i want say, I create a service swarm, after this service is stopping and again up the service.

How many hours in total does this service or containers work along all cicle of life?

I know than exist commands how docker stat or docker ps , but there’s only i can see how many hours is running from the last init.

I need all time of life of service or container of service.

thanks