I read in a post at stackoverflow about the time date stamp for tweets that
the timezone of each tweet is automatically converted to the local timezone. If you need UTC, you can use the
.ToUniversalTime()
method, for example:myTweet.CreatedDate.ToUniversalTime();
I wanted to know, when I download a tweet from Twitter's streaming API, what is the time zone. In the answer above they wrote that it is converted to the local timezone. I was not sure if that is the local zone of me (the person downloading the tweet stream) or of the person sending the tweet or of some ISP or somewhere else. Could anyone clarify this?
Thanks very much.
the timezone of each tweet is automatically converted to the local timezone.
Step 1: First of all, you have to sign in to your account on twitter.com. Step 2: Then, you need to click on your profile icon and select Settings from the drop-down menu. Step 3: Here, you have to click Account and then choose your time zone from the Time zone drop-down menu.
Dr. Kristin Briney on Twitter: "There is one correct way to write a date and it's YYYY-MM-DD. https://t.co/HcpEUblwCE" / Twitter.
So, we built Timestamps which lets anyone Tweet a live or replay video starting from the exact moment they want to discuss. Sharing Timestamps is easy.
The API stores and returns dates and times in GMT to avoid issues with clock changes.
According to this answer, you can use the utc_offset
property of the user object (which is returned with the tweet) to calculate the time relative to the user's timezone.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With