You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
-
I know the timestamps are usually monotonically increasing, but the question is about the possible exceptions: NTP adjustments and leap seconds.Tomek Czajka– Tomek Czajka2024-12-17 21:06:24 +00:00Commented Dec 17, 2024 at 21:06
-
and I answered that: still monotonous; leap seconds don't affect how many seconds have happened since some point in time. They affect how that number of passed seconds is converted to a human-readable datetime. . (unless your NTP client does things it shouldn't do. Modern NTP clients by default are safe, in that they never set the clock back, they just "slow down" time, so that timestamps remain monotonous)Marcus Müller– Marcus Müller2024-12-17 21:08:02 +00:00Commented Dec 17, 2024 at 21:08
-
OK so that answers the part about NTP, what about leap seconds (if there are more)? Are timestamps in TAI rather than in Unix time?Tomek Czajka– Tomek Czajka2024-12-17 21:09:11 +00:00Commented Dec 17, 2024 at 21:09
-
1But we're not talking about physics, we're talking about Unix timestamps... Sorry if I'm being obtuse but talking about time in physics doesn't resolve the question. Is the answer that timestamps in the filesystem are stored as a TAI offset rather than a UTC offset?Tomek Czajka– Tomek Czajka2024-12-17 21:11:24 +00:00Commented Dec 17, 2024 at 21:11
-
1Sorry but your other answer clearly is wrong in light of the fact that Unix time jumps by 1 second during a leap second, as described on Wikipedia, and as I just confirmed by experiment.Tomek Czajka– Tomek Czajka2024-12-17 21:36:37 +00:00Commented Dec 17, 2024 at 21:36
|
Show 11 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
-
create code fences with backticks ` or tildes ~
```
like so
``` -
add language identifier to highlight code
```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible)
<https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. shell-script), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you