Write Print Time To SD CARD Possible?

Hello, is it possible to write the completed print times to sd card either in their own file (gcodename.txt) or a continuous log (Machine Print Times.txt) ??

I have searched around and have not found a marlin/taz based solution to this. Thank you

Sample file:

Printtimes.txt
Job Name: Print #: Time to complete(D:H:M:S):
Sample.gcode 2 0:03:54:55
Bedcalibration.gcode 3 0:00:01:21
Bedcalibration.gode 4 0:00:01:21
Productionrun.gcode 5 0:55:06:55


Thanks!