gettickets function, dates missing