Tickets bought with the app are mainly valid immediately after purchase. Read the ticket’s description on validity carefully before purchase. You should buy tickets only just before you need them.