When did the word Apocalypse acquire it's modern meaning?

In the Bible it's used as a term for a revelation or unveiling, but in modern fiction it's used to refer to a hypothetical end of humanity.

When exactly did it acquire this new meaning? Do we know the first use of it as such?