Score:0

What was linux/unix time standard before inventing epoch?

do flag

As in the title, I was looking for, but hadn't found. How were time stored and processed before epoch standardizing in 2000?

vidarlo avatar
ar flag
Why do you believe Epoch is from 2000?
cn flag
There is some information here: https://en.wikipedia.org/wiki/Year_2000_problem#Programming_problem
jp flag
https://en.wikipedia.org/wiki/Unix_time#History
ng flag
What makes you think the epoch was only standardized in 2000? I used Linux the first time around 1997 and several other Unices starting 1999, and the epoch was definitely already standardized at that time. I am pretty sure it was already standardized in POSIX-1988, and possibly all the way to the first Unix release in 1970.
Score:1
cn flag

UNIX epoch began 1970-01-01, a date approximately when it was named such and escaped Bell Labs. NTP era 0 has been 1900-01-01 since at least v0 circa 1985. These and other time scales were well established on UNIX systems, before Linus sent the "just a hobby" email about Linux on 1991-08-25.

Linux 0.01 does not have many time functions in the kernel. Mostly converting real time clock time values into a usable integer so the boot time can be established. Presumably UNIX epoch, given the "- 70" done to the year, and the comments wondering about the choice of 1970.

See man 7 time for a list of time functions on a modern Linux system.

djdomi avatar
za flag
the question was before not after
ng flag
@djdomi: There is no "before". The epoch was standardized pretty much as soon as Unix existed. In the beginning, there was only one implementation anyway, so there was nothing to standardize. And when forks and clones appeared, they copied what the original did.
djdomi avatar
za flag
yes but the first computer were released before unix existed. and i think thats what the real request is
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.