Used unix time stamp  and was able to print out array of apppointments when searching for all appointments existing in next 3 weeks.