In any event, to become a good writer you have to a) write a lot and b) read a lot (not necessarily in that order). Some of the books listed at the link will help get you started.
I have two usable slots for writing: get up early and write before work or write late at night. I'm really not a morning person so in the morning I just do half an hour immediately after I wake.
In the evening I have roughly 7pm - 11:30pm to play with. I normally sit down to write between 9pm and 10pm and then go through till 11 - 11:30. I don't think this is really enough and I'm looking at how I can get another hour or so a day from somewhere.
The most important thing is to set a regular time and stick to it. Certainly, for fiction anyway, making this time as close to sleep as possible seems to help.
In contrast, all the writers did something to isolate themselves. That seems more concrete and clear advice....
I should sign off NOW!
Everyone needs to find what works best for themselves, but I'm pretty sure now I was just being macho when I thought I did best at night.