This code, and all other Mega Stone gift codes, can be used until 8:59 JST on November 1, 2017 (which is October 31, 2017 in many regions, such as North America and Europe). This end date had not previously been revealed.