Python magic: Extract the current UTC epoch timestamp from a Tweet ID:
((the_twitter_id * 1000) - 1288834974657) << 22
Conversation
(This is extremely helpful if you are using the RESTFul Twitter search API and looking for results within a certain time window.
Replying to
Twitter won't let you pass a time parameter, but they will let you pass an ID parameter which can be used as a time parameter.
1
