Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 1268

Questions related to the timestamp value of a block, or the use of Ethereum in timestamping.

5 votes
Accepted

How Can I Convert Between A Solidity Timestamp And Year/Month/Day Hour:Minute:Second?

Warning - Self Promotion There are a few libraries that provide the functionality to perform the conversions between the timestamp and year/month/day hour:minute:second including: @piper-merriam 's …
BokkyPooBah's user avatar
  • 40.4k
9 votes

How do Ethereum mining nodes maintain a time consistent with the network?

Here's the code I've found so far that deals with syncing time. It uses pool.ntp.org:123 as the time syncing source. From Go Ethereum - p2p/discover/ntp.go, lines 48-65: func checkClockDrift() { …
BokkyPooBah's user avatar
  • 40.4k