There are two different timestamps.
One time stamp is output by the camera, independent of the image.
The other time stamp is given by the camera when the camera acquires an image.
Every acquired image gets a time stamp from the camera.
In the following paragraphs both timestamps and how to retrieve them will be explained.