Get time stamp of minimum value for tag history query


For aggregation mode like minimum, maximum there is always time and date that value get min/max.
I want the time stamp of the minimum value in tag history query. The return time stamp for tag history query always is the start date.
is there any trick to get this time?

I would love an answer to this as well, although in my case I need the maximum values (two of them!). Hoping someone can shine a light.