If you make '1987' the subject of your sentence it would be a noun.
adverb
what part of speech is beneath
i want to know what part of speech is camping
The part of speech is a adjective
The part(s) of speech that has an "A" sound are: Adjective and Adverb.
A calendar year is a noun phrase.
Year is a noun.
in the year 1987
What part of speech is this
"Last year" is a noun phrase consisting of the noun "year" modified by the adjective "last".
It is a compound noun or noun phrase.
The part of speech for this particular word is a noun.
part of speech
The part of speech for "answer" is a noun.
adverb
what part of speech is beneath
The part of speech for "unfamiliar" is an adjective.