Preheat the oven to 350 Degree F / 180 Degree C.
Take flour, cinnamon, nutmeg, baking soda, baking powder, salt, carrots in a bowl and mix them.
In another bowl, take eggs, sugar, vanilla and beat them till they are light and fluffy.
Now add in oil and pineapple puree and mix well.
Add the carrot flour mix to this and fold gently.
Now line two round baking dish with parchment paper and oil them well.
Divide the batter between both the tins and bake them for 30 to 35 mins.
Once baked remove them and let it cool completely.
While it is cooling, make the frosting. Sift icing sugar well and set aside.
In a mixing bowl, take butter, cream cheese, vanilla and use a electric beater to cream them together.
Now add in half the icing sugar and beat them well.
Add a tblspn of milk and beat them well. Now add in remaining icing sugar and beat well till they are creamy.
Now frost the cake. Invert the cake over a cake board and place strips of parchment paper all around the sides of the cake.
Peel the parchment off the cake.
Now add a dollop of frosting over the cake and spread them.
Place another cake on top and add a dollop of frosting and spread them. Frost the entire cake.
Set them in fridge for a good couple of hours.
Slice and serve.