Difficult

What has four legs during the day; and six or eight during the night?