Retrieving the exact date/time that a video has been watched by a particular user



We want to be able to know exactly when our videos are being watched and by whom. For example, if one of our users watched a video with an id “12345” twice on January 5, 2018, then we would like to see something like this when searching for that user’s id:
{“id”: “12345”, “timestamp”: “2018.01.05 09:12:22”, “duration”: “17”}
{“id”: “12345”, “timestamp”: “2018.01.05 11:32:42”, “duration”: “24”}

Is it possible?