Difficult

What has 4 legs in the morning, 2 legs in the evening and 3 legs in the night?