This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function t = getTimeStamp(path_str) | |
% Get the timestamp of an image file using EXIF metadata. | |
% | |
% INPUTS | |
% path_str: String specifying the (relative or absolute) path to the image, including the name and extension of the file (e.g., '~/Desktop/text.jpg'). Not case sensitive. | |
% | |
% OUTPUTS | |
% t: Timestamp of target image in seconds. Specifically, this is the number of seconds since the beginning of the most recent calendar month. | |
% | |
% HISTORY |