I wanted to say:
In the evening I go home.
I originally thought "in" would be followed by the accusative, which I found on the internet was correct:
In den Abend gehe ich nach Hause.
But when I was looking at the following article:
as a temporal preposition, “in” can be translated as “in,” where a period of time is implicit. Take note that, as a temporal preposition, “in” is dative:
I then realised it must be:
Im abend gehe ich nach Hause.
However, I found on some pages that "In den Abend" is correct and on others "im Abend" is correct instead.
Which is correct?