I've had several teachers tell me that the best ideas come in the middle of the night, and I should keep a notebook by my bed so I can write down all these things that end up forgotten by morning.
What they don't tell you is that in that semi-sleep state, the mind generally talks itself back into sleep before any action happens in the writing aspect. One time, I did half wake up thinking I should write down some random piece of thought, but I couldn't see what I was doing. I guess I was too asleep to think to turn on the light.
Last night, I woke myself up with profoundities and determined to record these gems of thought before they slipped away. I did manage to get the light and find a pen. Odd thing is, in the morning, none of it made any sense.
Maybe it works for some--I think I'll stick to writing when I'm awake.