It ends at midnight tonight (5)
I believe the answer is:
today
'tonight' is the definition.
(thesaurus)
I don't understand the rest of the clue.
Can you help me to learn more?
(Other definitions for today that I've seen before include "Yesterday's tomorrow" , "The present time or age" , "Presently" , "Modern times" , "12, 12" .)