The year 2018 was a standard year, which means it did not include a leap day. In a standard year, there are a total of 365 days. This is because the Gregorian calendar, which is the calendar system used by most of the world today, is structured such that most years have 365 days, while leap years, which occur every four years, have an additional day added to February. For the year 2018, February had 28 days instead of 29, making the total count precisely 365.
If you’re curious about leap years, they are defined as years that are divisible by 4, except for years that are divisible by 100 unless they are also divisible by 400. So, while the years 2016 and 2020 were leap years, 2018 was not.
In summary, the year 2018 had a total of 365 days.