Ich habe vor 18 Monate bei der Fuehrungsakademie der Bundeswehr studiert. Apfelstrudel ist ausgezeichnet!
Don't forget that in the Dative Plural, you have to add an "n" at the end of the noun. In this instance, the Preposition "vor" governs the Dative.
And do you really mean "18 months ago?
Regards,