I have a $2d$ vector $(x,y)$.
And I'd like to obtain from it a rotation angle.
For example:
I would have $0^\circ$ degree when ($x = \text{positive}$, $y = 0$), more than $0^\circ$ degree when ($x = \text{positive}$, $y = \text{positive}$), and less than $0^\circ$ degree when ($x = \text{positive}$, $y = \text{negative}$)
I can't figure out how to do it

From vector algebra you can recall to the formula for finding the angle between two vectors $a$ and $b$($cos\phi=\frac{a*b}{|a||b|}$). Than apply that formula for the given vector and the coordinate vector (1,0). So you'll have $cos\phi=\frac{x}{\sqrt{x^2+y^2}}$ or $\phi=arccos\frac{x}{\sqrt{x^2+y^2}}$.