On any planet, one year is defined by one orbit, or revolution, around its sun. One day is defined by the complete rotation spun around its own axis. The actual length of a year on a planet depends...
An apparent day length results in combination of the period of rotation, or the planets spin speed, combined with the orbital period of the planet around the sun.
The closest planet to Earth in terms of rotation period is Mars with a period of 24 hours 37 minutes 23 seconds. The second closest is Neptune at 16 hours.