pointer on dates with program