"Astoria always knew that she was not destined for old age. She wanted me to have somebody when she left, because... it is exceptionally lonely, being Draco Malfoy."
-- Draco Malfoy (CC2.15)
We know that this event occurs during the summer break because her son Scorpius didn't know what to write by owl to his best friend Albus Potter to let him know about it. Also, the funeral hasn't taken place by the first day of school so her death must have been late in the month of August.
From the Web
Pottermore: Harry Potter and the Cursed Child
The theatre production opened in the West End of London at the Palace Theatre on 31 July 2016: Harry Potter and the Cursed Child, Parts One and Two