<blockquote>
  <p>It seems to me that you could put any time you want in the timestamp.</p>
</blockquote>

<p>No, there are specific <a href="https://en.bitcoin.it/wiki/Block_timestamp" rel="nofollow noreferrer">rules</a>:</p>

<blockquote>
  <p>A timestamp is accepted as valid if it is greater than the median timestamp of previous 11 blocks, and less than the network-adjusted time + 2 hours. "Network-adjusted time" is the median of the timestamps returned by all nodes connected to you. As a result, block timestamps are not exactly accurate, and they do not even need to be in order. Block times are accurate only to within an hour or two.</p>
</blockquote>

<p><strong>Example</strong>:
It's December 29th, 2017 at 11:00:00. The median for the previous 11 blocks is the current time - ~1 hour in average. Let's assume that it's exactly 1 hour in this case.</p>

<ul>
<li>December 29th, 2017 at 13:00:00 is not accepted</li>
<li>December 29th, 2017 at 12:59:59 is accepted</li>
<li>December 29th, 2017 at 9:59:59 is not accepted</li>
<li>December 29th, 2017 at 10:00:01 is accepted</li>
</ul>

CC BY-SA 3.0
2017-12-29T10:08:00.097Z
Ah, sounds like this was added after the whitepaper. Not clear to me at this point why this works, why there is no need for accuracy or being in order but I will read further on this. Thanks.
Jeff
CC BY-SA 3.0
2017-12-29T09:53:01.310Z
2017-12-29T09:53:01.310Z
hardfork
<p>The whitepaper says exactly this: "The timestamp proves that the data must have existed at the time, obviously, in order to get into the hash.  Each timestamp includes the previous timestamp in its hash, forming a chain, with each additional timestamp reinforcing the ones before it."</p>

<p>It seems to me that you could put any time you want in the timestamp. Is it the next sentence about "reinforcing" that is key to his meaning?</p>

<timestamp>
From the Whitepaper: Timestamps prove that the data must have existed at the time"
Jeff
# From the Whitepaper: Timestamps prove that the data must have existed at the time"

(Asked by: username_0 on 2017-12-29)

The whitepaper says exactly this: "The timestamp proves that the data must have existed at the time, obviously, in order to get into the hash. Each timestamp includes the previous timestamp in its hash, forming a chain, with each additional timestamp reinforcing the ones before it."

It seems to me that you could put any time you want in the timestamp. Is it the next sentence about "reinforcing" that is key to his meaning?

**Tags:** timestamp


---

## 1 answers

### Answer by username_1 on 2017-12-29. Score: 1

> It seems to me that you could put any time you want in the timestamp.

No, there are specific [rules](https://en.bitcoin.it/wiki/Block_timestamp):

> A timestamp is accepted as valid if it is greater than the median timestamp of previous 11 blocks, and less than the network-adjusted time + 2 hours. "Network-adjusted time" is the median of the timestamps returned by all nodes connected to you. As a result, block timestamps are not exactly accurate, and they do not even need to be in order. Block times are accurate only to within an hour or two.

**Example**:
It's December 29th, 2017 at 11:00:00. The median for the previous 11 blocks is the current time - ~1 hour in average. Let's assume that it's exactly 1 hour in this case.

* December 29th, 2017 at 13:00:00 is not accepted
* December 29th, 2017 at 12:59:59 is accepted
* December 29th, 2017 at 9:59:59 is not accepted
* December 29th, 2017 at 10:00:01 is accepted

> **Comments:**
> **username_0**: Ah, sounds like this was added after the whitepaper. Not clear to me at this point why this works, why there is no need for accuracy or being in order but I will read further on this. Thanks.  

---

