To what time are the demons referring? To the day they would be cast into the bottomless pit.
Notice that these demons had fairly solid theology. They understood eschatology, the study of end times. And they called Jesus the Son of Godwhich is more than the scribes or Pharisees did. In his Epistle, James says, "You say that you believe? So what? The demons believe and tremble" (see Jas 2:19). It's not enough to believe Jesus is the Son of God intellectually. Bunches of people will miss heaven by eighteen inchesthe distance between their brain and their heart.