user47827: Is there an easy calculator to determine the block height on a certain day?
i.e what was the block height on 14th October?
This was asked by JoeNakamoto on Twitter.
There is a related question on converting block height to UNIX time here.

user47827: There is a script here from jsarenik that does this.
You can run it like this:
$ ./grepdate.sh 2022-10-14 
758593

Alternatively there is a Google Sheets that seems to work.
Thanks to those on Twitter who answered.

user13163: You can also estimate it like this:
h = (t-1213787930) / 596.066637

where t is the unix timestamp as stored in the block header.
And h is the block height.
These values were derived using a least-squares fitting over the last 160000 blocks.
Note that theoretically bitcoin attempts to make the factor close to 600, but in practice the value of 600 is not reached.

user23146: There is blockheightat.sh script included in my bitcoin-scripts (requires running Bitcoin Core). Examples:
$ ./blockheightat.sh 2022-10-14
758524
$ ./blockheightat.sh "2022-10-14 13:37"
758612


47827: <p>Is there an easy calculator to determine the block height on a certain day?</p>
<p>i.e what was the block height on 14th October?</p>
<p>This was asked by JoeNakamoto on <a href="https://twitter.com/JoeNakamoto/status/1589590600818782210?s=20&amp;t=QzU-Och8ZKxeLFPfNBd4cA" rel="nofollow noreferrer">Twitter</a>.</p>
<p>There is a related question on converting block height to UNIX time <a href="https://bitcoin.stackexchange.com/questions/93919/how-to-create-block-height-to-unix-time-converter">here</a>.</p>
 47827: <p>There is a script <a href="https://github.com/jsarenik/price.bublina.eu.org/blob/master/grepdate.sh" rel="nofollow noreferrer">here</a> from jsarenik that does this.</p>
<p>You can run it like this:</p>
<pre><code>$ ./grepdate.sh 2022-10-14 
758593
</code></pre>
<p>Alternatively there is a <a href="https://docs.google.com/spreadsheets/d/1NiZFqp919BbWDwBLYs4k99LggnJdquVmSUjAfe-kUbA/" rel="nofollow noreferrer">Google Sheets</a> that seems to work.</p>
<p>Thanks to those on Twitter who answered.</p>
 13163: <p>You can also estimate it like this:</p>
<pre><code>h = (t-1213787930) / 596.066637
</code></pre>
<p>where <code>t</code> is the unix timestamp as stored in the block header.
And <code>h</code> is the block height.</p>
<p>These values were derived using a least-squares fitting over the last 160000 blocks.</p>
<p>Note that theoretically bitcoin attempts to make the factor close to <code>600</code>, but in practice the value of <code>600</code> is not reached.</p>
 23146: <p>There is blockheightat.sh script included in my <a href="https://github.com/kristapsk/bitcoin-scripts" rel="nofollow noreferrer">bitcoin-scripts</a> (requires running Bitcoin Core). Examples:</p>
<pre><code>$ ./blockheightat.sh 2022-10-14
758524
$ ./blockheightat.sh &quot;2022-10-14 13:37&quot;
758612
</code></pre>
