Since ESXATOS, though an adjective, can function as a substantive (i.e., a noun), it can stand independent and therefore does not need to agree in gender or number to another noun in the phrase. It may be best to translate this phrase as "at the last of these days"/"at the end of these days."