Functions selecting single value from a groups of
date
values using specified criteria.