Hi @aakkuummaarr ,
You can try below expression:

After flow confirmed that the current run is checkout, you can use below formula to get file's last-modified time for real:
triggerOutputs()?['headers']?['Last-Modified']
This is the time when file is checkout.
Hope this can answer your question.
Best Regards,
Hen Wang