How to get Twitter current time?

rorizvitor
@rorizvitor Vitor Roriz

Hi guys, I need to get twitter current time to compare with a tweet 'created_at' time and I don't know how to do that. Here in the discussion I saw something about read from the 'date' header from an api call but, I can't find when I print a dir(api_call). Is it need to be a specific call? I don't have experience in the area so what I tried was:

  1. eu = api.me()
  2. print dir(eu.status)
  3. print dir(api)

There was no date header there.

Can someone, please, tell me which call should have a Date header?

ps: I'm using tweepy api.

Thanks a lot.

1 day 4 hours ago