Guess the basics are the easy part, but I don't honestly think you're ever "done" learning a programming language - in pretty much every language you're always finding a new way to do something (even if it's not as efficient) or finding a new function you've never used.
But took me around 2-3 months to get some of my first scripts working. I tend to do something insane like setting my first goal as "image gallery" and work out all the bits and pieces on my way
It works but it takes a hecka long time to actually finish it cause of being so new :S