E' stato due anni fa.

English Translation

That was two years ago.

how is E’ a contraction of È?

Probably just a typo - friend of mine types it like that regardless of gentle nagging.