Syntax Highlighing:
comments, key words, predefined symbols, class members & methods, functions & classes
# PinDateTime.qry
# Pinmap selection script for geotagged image table
# Selects photos taken after specified date and time
class DATETIME dt; # class for storing and converting date/time info
# set target date 2005/06/01 and time 12 noon for comparison
dt.SetDateYYYYMMDD(20050601);
dt.SetTime(12, 0, 0); # set time in hours, min, seconds
# the Date-Time field value is returned as a Julian date, so
# must use DATETIME class method to convert target
# date-time to Julian form for comparison
if (`WPN Geotagged Images`.`Date and Time` > dt.GetDateTimeJulian() ) then
return true; # selects records meeting criterion