You can buy your ticket online from 330 days before departure till 2 hours before your flight’s scheduled departure time.