Thousands of people have marked the changing calendar year.