One day is one revolution around itself. 1 day is 24 hours, or 1440 min, or 86,400 sec.
One year is one revolution around the sun. 1 year is ~365.2422 days, 8765.8128 hours, 525,948.768 min, or 31,556,926.08 sec. The earth takes exactly 365 days and 6 hours to complete one revolution which is equal to approximately 365 days.