newborn and swing set ????

mamabeartoRo
I have a swing set I put my newborn in and he sleeps sooooo well in it! The question is does anyone else use one on their baby this early ? And how long to you keep your baby in the swing ?