Have been using C++ to successfully retrieve and use info from WIN32_FIND_DATA data structure for various reasons. Now have many files that are photos and which show up in Windows Explorer sortable by the time the photo was taken - but I need to programmatically sort them and can not find out how to get to the 'photo taken time' within a program. Running under Windows7. Any suggestions?
The ID of the property you're prob. interested in is:
Date and time when the original image data was generated. For a DSC, the date and time when the picture was taken. The format is YYYY:MM:DD HH:MM:SS with time shown in 24-hour format and the date and time separated by one blank character (0x2000). The character string length is 20 bytes including the NULL terminator. When the field is empty, it is treated as unknown.