Click here to Skip to main content
15,880,608 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i need time and date of that picture was taken
Posted

Afaik, there is no timestamp in the jpeg header...
 
Share this answer
 
As already mentioned by Solution 1, there is no timestamp for pure JPEG files. But additional information may be present in application specific meta data (e.g. EXIF, IPTC). So you must parse the header for APPn markers, locate the payload, and get the information out of it.

As a starting point to parse the header see the article Extracting IPTC header information from JPEG images[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900