A day is the time period of a full rotation of the Earth with respect to the Sun. On average, this is 24 hours, 1440 minutes, or 86,400 seconds. In everyday life, the word "day" often refers to a solar day, which is the length between two solar noons or times the Sun reaches the highest point. The word "day" may also refer to daytime , a time period when the location receives direct and indirect sunlight. On Earth, as a location passes through its day, it experiences morning, noon, afternoon, evening, and night. The effect of a day is vital to many life processes, which is called the circadian rhythm.
A collection of sequential days is organized into calendars as dates, almost always into weeks, months and years. Most calendars' arrangement of dates use either or both the Sun with its four seasons (solar calendar) or the Moon's phasing (lunar calendar). The start of a day is commonly accepted as roughly the time of the middle of the night or midnight, written as 00:00 or 12:00 am in 24- or 12-hour clocks, respectively. Because the time of midnight varies between locations, time zones are set up to facilitate the use of a uniform standard time. Midnight is not the only convention used to determine the start of a new day. Other defining moments have been used throughout history, and some are used even today, such as with the Jewish religious calendar, which counts days from sunset to sunset, so the Jewish Sabbath begins at sundown on Friday. Astronomers also have a convention where their day begins at high noon. This way, all of their observations throughout a single night are recorded as happening on the same day. This method removes ambiguity of a particular observation happening on a calendar day, eliminating the need to further determine which night it happened on. Because when using midnight as the start of day, each calendar day is associated with two separate night periods.
In specific applications, the definition of a day is slightly modified, such as in the SI day (exactly 86,400 seconds) used for computers and standards keeping, local mean time accounting of the Earth's natural fluctuation of a solar day, and stellar day and sidereal day (using the celestial sphere) used for astronomy. In most countries outside of the tropics, daylight saving time is practiced, and each year there will be one 23-hour civil day and one 25-hour civil day. Due to slight variations in the rotation of the Earth, there are rare times when a leap second will get inserted at the end of a UTC day, and so while almost all days have a duration of 86,400 seconds, there are these exceptional cases of a day with 86,401 seconds (in the half-century spanning 1972 through 2022, there have been a total of 27 leap seconds that have been inserted, so roughly once every other year).
The term comes from the Old English term dæġ (/dæj/), with its cognates such as dagur in Icelandic, Tag in German, and dag in Norwegian, Danish, Swedish and Dutch – all stemming from a Proto-Germanic root *dagaz.  As of October 17,2015 [update] , day is the 205th most common word in US English,  and the 210th most common in UK English. 
Several definitions of this universal human concept are used according to context, need and convenience. Besides the day of 24 hours (86,400 seconds), the word day is used for several different spans of time based on the rotation of the Earth around its axis. An important one is the solar day, defined as the time it takes for the Sun to return to its culmination point (its highest point in the sky). Due to an orbit's eccentricity, the Sun resides in the one of the orbit's foci instead of the middle. Consequently, due to Kepler's second law, the planet travels at different speeds at various positions in its orbit, and thus a solar day is not the same length of time throughout the orbital year. Because the Earth moves along an eccentric orbit around the Sun while the Earth spins on an inclined axis, this period can be up to 7.9 seconds more than (or less than) 24 hours. In recent decades, the average length of a solar day on Earth has been about 86,400.002 seconds  (24.000 000 6 hours) and there are currently about 365.2421875 solar days in one mean tropical year.
Ancient custom has a new day start at either the rising or setting of the Sun on the local horizon (Italian reckoning, for example, being 24 hours from sunset, oldstyle).  The exact moment of, and the interval between, two sunrises or sunsets depends on the geographical position (longitude and latitude, as well as altitude), and the time of year (as indicated by ancient hemispherical sundials).
A more constant day can be defined by the Sun passing through the local meridian, which happens at local noon (upper culmination) or midnight (lower culmination). The exact moment is dependent on the geographical longitude, and to a lesser extent on the time of the year. The length of such a day is nearly constant (24 hours ± 30 seconds). This is the time as indicated by modern sundials.
A further improvement defines a fictitious mean Sun that moves with constant speed along the celestial equator; the speed is the same as the average speed of the real Sun, but this removes the variation over a year as the Earth moves along its orbit around the Sun (due to both its velocity and its axial tilt).
In terms of Earth's rotation, the average day length is about 360.9856°. A day lasts for more than 360° of rotation because of the Earth's revolution around the Sun. With a full year being slightly more than 360 days, the Earth's daily orbit around the Sun is slightly less than 1°, so the day is slightly less than 361° of rotation.
Elsewhere in the Solar System or other parts of the universe, a day is a full rotation of other large astronomical objects with respect to its star. 
For civil purposes, a common clock time is typically defined for an entire region based on the local mean solar time at a central meridian. Such time zones began to be adopted about the middle of the 19th century when railroads with regularly occurring schedules came into use, with most major countries having adopted them by 1929. As of 2015, throughout the world, 40 such zones are now in use: the central zone, from which all others are defined as offsets, is known as UTC±00, which uses Coordinated Universal Time (UTC).
The most common convention starts the civil day at midnight: this is near the time of the lower culmination of the Sun on the central meridian of the time zone. Such a day may be referred to as a calendar day.
A day is commonly divided into 24 hours of 60 minutes, with each minute composed of 60 seconds.
A sidereal day or stellar day is the span of time it takes for the Earth to make one entire rotation  with respect to the celestial background or a distant star (assumed to be fixed).  Measuring a day as such is used in astronomy.  A sidereal day is about 4 minutes less than a solar day of 24 hours (23 hours 56 minutes and 4.09 seconds), or 0.99726968 of a solar day of 24 hours.  There are about 366.2422 stellar days in one mean tropical year (one stellar day more than the number of solar days). 
Besides a stellar day on Earth, other bodies in the Solar System have day times, the durations of these being:  
|Ceres||9  –9.1 |
In the International System of Units (SI), a day not an official unit, but is accepted for use with SI.  A day, with symbol d, is defined using SI units as 86,400 seconds; the second is the base unit of time in SI units. In 1967–68, during the 13th CGPM (Resolution 1),  the International Bureau of Weights and Measures (BIPM) redefined a second as "... the duration of 9,192,631,770 periods of the radiation corresponding to the transition between two hyperfine levels of the ground state of the caesium 133 atom."  This makes the SI-based day last exactly 794,243,384,928,000 of those periods.
Various decimal or metric time proposals have been made, but do not redefine the day, and use the day or sidereal day as a base unit. Metric time uses metric prefixes to keep time. It uses the day as the base unit, and smaller units being fractions of a day: a metric hour (deci) is 1⁄10 of a day; a metric minute (milli) is 1⁄1000 of a day; etc.  Similarly, in decimal time, the length of a day is static to normal time. A day is also split into 10 hours, and 10 days comprise a décade – the equivalent to a week. 3 décades make a month.  : 35 Various decimal time proposals which do not redefine the day: Henri de Sarrauton's proposal kept days, and subdivided hours into 100 minutes;  : 42 in Mendizábal y Tamborel's proposal, the sidereal day was the basic unit, with subdivisions made upon it;  : 42–43 and Rey-Pailhade's proposal divided the day 100 cés.  : 42
The word refers to various similarly defined ideas, such as:
Mainly due to tidal deceleration – the Moon's gravitational pull slowing down the Earth's rotation – the Earth's rotational period is slowing.  Because of the way the second is defined, the mean length of a solar day is now about 86,400.002 seconds, and is increasing by about 2 milliseconds per century. 
Since the rotation rate of the Earth is slowing, the length of a SI second fell out of sync with a second derived from the rotational period of the earth.  This arose the need for leap seconds, which insert extra seconds into Coordinated Universal Time (UTC).  Although typically 86,400 SI seconds in duration, a civil day can be either 86,401 or 86,399 SI seconds long on such a day. Other than the two-millisecond variation from tidal deceleration, other factors minutely affect the day's length, which creates irregularity in the placement of leap seconds.  Leap seconds are announced in advance by the International Earth Rotation and Reference Systems Service (IERS), which measures the Earth's rotation and determines whether a leap second is necessary.
Discovered by paleontologist John W. Wells, the day lengths of geological periods have been estimated by measuring sedimentation rings in coral fossils,   due to some biological systems being affected by the tide.  The length of a day at the Earth's formation is estimated at 6 hours.  Arbab I. Arbab plotted day lengths over time and found a curved line.  Arbab attributed this to the change of water volume present affecting Earth's rotation. 
|Date||Geological period||Number of days per year ||Duration of the day|
|−100 million years||Cretaceous||380||23 hours and 20 minutes|
|−200 million years||Triassic||390||22 hours and 40 minutes|
|−300 million years||Carboniferous||400||22 hours|
|−400 million years||Devonian||410||21 hours and 20 minutes|
|−500 million years||Cambrian||425||20 hours and 40 minutes|
This section needs additional citations for verification .(May 2023)
For most diurnal animals, the day naturally begins at dawn and ends at sunset. Humans, with their cultural norms and scientific knowledge, have employed several different conceptions of the day's boundaries. In the Hebrew Bible, Genesis 1:5 defines a day in terms of "evening" and "morning" before recounting the creation of a sun to illuminate it: "And God called the light Day, and the darkness he called Night. And the evening and the morning were the first day." Common convention among the ancient Romans,  ancient Chinese  and in modern times is for the civil day to begin at midnight, i.e. 00:00, and to last a full 24 hours until 24:00 (i.e. 00:00 of the next day). In ancient Egypt the day was reckoned from sunrise to sunrise. The Jewish day begins at either sunset or nightfall (when three second-magnitude stars appear).
Medieval Europe also followed this tradition, known as Florentine reckoning: in this system, a reference like "two hours into the day" meant two hours after sunset and thus times during the evening need to be shifted back one calendar day in modern reckoning. Days such as Christmas Eve, Halloween, and the Eve of Saint Agnes are remnants of the older pattern when holidays began during the prior evening. Prior to 1926, Turkey had two time systems: Turkish (counting the hours from sunset) and French (counting the hours from midnight).
Humans have divided the day in rough periods, which can have cultural implications, and other effects on humans' biological processes. The parts of the day do not have set times; they can vary by lifestyle or hours of daylight in a given place. 
A day, in the sense of daytime that is distinguished from night time, is commonly defined as the period during which sunlight directly reaches the ground, assuming that there are no local obstacles. The length of daytime averages slightly more than half of the 24-hour day. Two effects make daytime on average longer than nights. The Sun is not a point, but has an apparent size of about 32 minutes of arc. Additionally, the atmosphere refracts sunlight in such a way that some of it reaches the ground even when the Sun is below the horizon by about 34 minutes of arc. So the first light reaches the ground when the centre of the Sun is still below the horizon by about 50 minutes of arc.  Thus, daytime is on average around 7 minutes longer than 12 hours. 
Daytime is further distinguished into morning, afternoon, and evening. Morning occurs between sunrise and noon.  Afternoon occurs between noon and sunset.  This period of time sees human's highest body temperature,  an increase of traffic collisions,  and a decrease of productivity.  Evening occurs between the end of afternoon and before sleep. 
Twilight is the period before sunset and after sunrise in which there is natural light but no direct sunlight.  Twilight can be subdivided into dawn or dusk, or into civil twilight, nautical twilight, and astronomical twilight. Civil twilight begins (in the morning) or ends (in the evening) when the sun is 6 degrees below the horizon; nautical begins or ends at 12 degrees, and astronomical begins or ends at 18 degrees. 
Night is the period in which the sky is dark,  or the period between dusk and dawn where no light is visible.  Due to the darkness of night, it affects the circadian rhythm; artificial light during night can disrupt circadian rhythms and sleep. 
In precise timekeeping, ΔT is a measure of the cumulative effect of the departure of the Earth's rotation period from the fixed-length day of International Atomic Time. Formally, ΔT is the time difference ΔT = TT − UT between Universal Time and Terrestrial Time. The value of ΔT for the start of 1902 was approximately zero; for 2002 it was about 64 seconds. So Earth's rotations over that century took about 64 seconds longer than would be required for days of atomic time. As well as this long-term drift in the length of the day there are short-term fluctuations in the length of day which are dealt with separately.
The term ephemeris time can in principle refer to time in association with any ephemeris. In practice it has been used more specifically to refer to:
A solar equinox is a moment in time when the Sun crosses the Earth's equator, which is to say, appears directly above the equator, rather than north or south of the equator. On the day of the equinox, the Sun appears to rise "due east" and set "due west". This occurs twice each year, around 20 March and 23 September.
An hour is a unit of time historically reckoned as 1⁄24 of a day and defined contemporarily as exactly 3,600 seconds (SI). There are 60 minutes in an hour, and 24 hours in a day.
A leap second is a one-second adjustment that is occasionally applied to Coordinated Universal Time (UTC), to accommodate the difference between precise time and imprecise observed solar time (UT1), which varies due to irregularities and long-term slowdown in the Earth's rotation. The UTC time standard, widely used for international timekeeping and as the reference for civil time in most countries, uses TAI and consequently would run ahead of observed solar time unless it is reset to UT1 as needed. The leap second facility exists to provide this adjustment. The leap second was introduced in 1972 and since then 27 leap seconds have been added to UTC.
The second is the unit of time in the International System of Units (SI), historically defined as 1⁄86400 of a day – this factor derived from the division of the day first into 24 hours, then to 60 minutes and finally to 60 seconds each.
A year is the orbital period of a planetary body, for example, the Earth, moving in its orbit around the Sun. Due to the Earth's axial tilt, the course of a year sees the passing of the seasons, marked by change in weather, the hours of daylight, and, consequently, vegetation and soil fertility. In temperate and subpolar regions around the planet, four seasons are generally recognized: spring, summer, autumn and winter. In tropical and subtropical regions, several geographical sectors do not present defined seasons; but in the seasonal tropics, the annual wet and dry seasons are recognized and tracked.
A time standard is a specification for measuring time: either the rate at which time passes or points in time or both. In modern times, several time specifications have been officially recognized as standards, where formerly they were matters of custom and practice. An example of a kind of time standard can be a time scale, specifying a method for measuring divisions of time. A standard for civil time can specify both time intervals and time-of-day.
Sidereal time is a system of timekeeping used especially by astronomers. Using sidereal time and the celestial coordinate system, it is easy to locate the positions of celestial objects in the night sky. Sidereal time is a "time scale that is based on Earth's rate of rotation measured relative to the fixed stars".
A sidereal year, also called a sidereal orbital period, is the time that Earth or another planetary body takes to orbit the Sun once with respect to the fixed stars.
Solar time is a calculation of the passage of time based on the position of the Sun in the sky. The fundamental unit of solar time is the day, based on the synodic rotation period. Traditionally, there are three types of time reckoning based on astronomical observations: apparent solar time and mean solar time, and sidereal time, which is based on the apparent motions of stars other than the Sun.
A synodic day is the period for a celestial object to rotate once in relation to the star it is orbiting, and is the basis of solar time.
In modern usage, civil time refers to statutory time as designated by civilian authorities. Modern civil time is generally national standard time in a time zone at a fixed offset from Coordinated Universal Time (UTC), possibly adjusted by daylight saving time during part of the year. UTC is calculated by reference to atomic clocks and was adopted in 1972. Older systems use telescope observations.
Though no standard exists, numerous calendars and other timekeeping approaches have been proposed for the planet Mars. The most commonly seen in the scientific literature denotes the time of year as the number of degrees on its orbit from the northward equinox, and increasingly there is use of numbering the Martian years beginning at the equinox that occurred April 11, 1955.
A unit of time is any particular time interval, used as a standard way of measuring or expressing duration. The base unit of time in the International System of Units (SI), and by extension most of the Western world, is the second, defined as about 9 billion oscillations of the caesium atom. The exact modern SI definition is "[The second] is defined by taking the fixed numerical value of the cesium frequency, ΔνCs, the unperturbed ground-state hyperfine transition frequency of the cesium 133 atom, to be 9 192 631 770 when expressed in the unit Hz, which is equal to s−1."
Earth's rotation or Earth's spin is the rotation of planet Earth around its own axis, as well as changes in the orientation of the rotation axis in space. Earth rotates eastward, in prograde motion. As viewed from the northern polar star Polaris, Earth turns counterclockwise.
A tropical year or solar year is the time that the Sun takes to return to the same position in the sky of a celestial body of the Solar System such as the Earth, completing a full cycle of seasons; for example, the time from vernal equinox to vernal equinox, or from summer solstice to summer solstice. It is the type of year used by tropical solar calendars. The solar year is one type of astronomical year and particular orbital period. Another type is the sidereal year, which is the time it takes Earth to complete one full orbit around the Sun as measured with respect to the fixed stars, resulting in a duration of 20 minutes longer than the tropical year, because of the precession of the equinoxes.
Coordinated Universal Time or UTC is the primary time standard by which the world regulates clocks and time. It is within about one second of mean solar time at 0° longitude and is not adjusted for daylight saving time. It is effectively a successor to Greenwich Mean Time (GMT).
In lunar calendars, a lunar month is the time between two successive syzygies of the same type: new moons or full moons. The precise definition varies, especially for the beginning of the month.
Sol is a solar day on Mars; that is, a Mars-day. A sol is the apparent interval between two successive returns of the Sun to the same meridian as seen by an observer on Mars. It is one of several units for timekeeping on Mars.
A Cautionary Note: Because the rotation period of the Earth is almost the same as the length of its day, we sometimes get a bit sloppy in discussing the rotation of the sky, and say that the stars rotate around us once each day. In a similar way, it is not unusual for careless people to mix up the rotation period of a planet with the length of its day, or vice versa.