I agree with UAL1837, it's scary when your a student and something goes wrong. When I was doing my night rating, I was flying from Boundary Bay (south of YVR) to Victoria and back as my first night solo. On the way back from Victoria, all my electrical systems died. My lights, radios, flaps, etc. all were inop. I tried everything I could, but eventually I waited until the Boundary Bay tower was closed and landed. The wierd thing was I couldn't wait to fly again the next day.
"Trying is the first step towards failure" -Homer Simpson