How is time recorded when accessing via the API?

How is time recorded when accessing via the API? I need to implement logic that will monitor token and hits per minute limits. I need to know how time is recorded - only the astronomical minute in the TPM parameter or the minute from the moment of reference is taken into account. For example: the request was sent at 08:00:59,
and the answer came at 08:01:10. How will time be taken into account in the limits?
Thank you