Just pushed the update into NostrGram so you can get the latest Bitcoin block height, index and time using these variables (both in your note text and/or in your note signature):

Block Index: 1678825424

Block Height: 780826

Block Time: 2023-03-14 20:23:44

Developing https://nostrgram.co/ #Bitcoin

Reply to this note

Please Login to reply.

Discussion

Now you're talking. I like it.

YOU ARE THE MAN. Thank you for the quick update 🤙

This is awesome! We should all be slowly moving towards a block height time standard and this helps with that enormously.

Moscow time?

It's the javascript date converted to the ISO string (I just remove the T and everything after the . at the end). Here's the ISO string for the current time in Chrome: 2023-03-14T21:01:09.023Z

and you can't delete this...

BRUUUUUHHH!!!

This man is quick..

#[0]

#[1]

[block height]

You need to refresh to get the update before it will work.

Can't tell from the pic. Are there underscores?

How do I get the block time to show on a different line?

Just put it on a different line:

Block Time

2023-03-14 21:09:35

Test

LoL! Didn't work because I didn't have "replies" checked. Trying again. Test!

Block Height: 780829 Block Time: 2023-03-14 21:09:35

#[2] Not sure how to make multiple lines in my sig. I tried hitting enter and ctrl-enter and I also copied & pasted from a notepad. Keeps putting it on one line.

Block Height: 780829 Block Time: 2023-03-14 21:09:35

Sorry I didn't realize you meant in your signature.

You can't. It's single line by design to avoid spam.

Got it. Thanks.

Block Height: 780830 Block Time: 2023-03-14 21:20:44