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
The year 1987 falls in the 20th century. The 20th century spans from the year 1901 to 2000. Therefore, any year from 1901 to 2000, including 1987, is considered part of the 20th century.
"Last year" is a noun phrase consisting of the noun "year" modified by the adjective "last".
It is a compound noun or noun phrase.
part of speech
The part of speech for this particular word is a noun.
The part of speech for "answer" is a noun.
adverb
what part of speech is beneath