/*************************************************************************************** * * PhotoGrok Script * * Get all images taken on this month/day in the past. * * Requires the following filter (always the last filter if multiple filters defined): * * DateTimeOriginal | Javascript Expression | match(DateTimeOriginal) * ***************************************************************************************/ // today's date var now = new Date(); // called by filter for each image function match(date){ if(date == '-'){ return false; // in case no date for image } var d=convertDate(date); return d.getDate() == now.getDate() && d.getMonth() == now.getMonth(); }