What am I?

I walk on 4 legs in the morning, 2 legs at noon, and 3 legs at night. What am I?