The EXIF data is collected by the camera, and it is appended to the JPEG, TIF, or RAW image file. That contains date and time information, camera type, camera settings, and a bunch of other stuff. Some cameras don't do this.
Often the photographer will get that file into an image editor and erase or change some of the EXIF data. For example, to add a copyright notice, to add an image title, to add a telephone number for contact, etc.
I thought some bits of EXIF data were remaining, but maybe not.
It's too bad that night photos use infrared light, so there is no color information.