I would like to know what would be the correct sentence here. I just want to say that I left the city on the weekend.
I went out of the city on Saturday.
I went outside the city on Saturday.
Your sentences are fine. As J.R. mentioned, it's better to say,
Out of is better suited in situations like,
Although outside the city is grammatically correct, it sounds a bit unorthodox in this context.
The colloquial way to say this would be as follows:
and to talk about going out of town in the future: