Unix time (also known as Epoch time, POSIX time, seconds since the Epoch, or UNIX Epoch time) is a system for describing a point in time. It is the number of secondsthat have elapsed since the Unix epoch, minus leap seconds; the Unix epoch is 00:00:00 UTC on 1 January 1970 (an arbitrary date); leap seconds are ignored, with a leap second having the same Unix time as the second before it, and every day is treated as if it contains exactly 86400 seconds.[2] Due to this treatment Unix time is not a true representation of UTC.
Unix time is widely used in operating systems and file formats. In Unix-like operating systems, date
is a command which will print or set the current time; by default, it prints or sets the time in the system time zone, but with the -u
flag, it prints or sets the time in UTC and, with the TZ
environment variable set to refer to a particular time zone, prints or sets the time in that time zone.