[user] followed 7 months, 3 weeks ago ( 06/30/2016 - 07:02 pm)
My problem is that the time is way off. I don’t know what time zone the time is in. Many outputs of this command have users following very early in the morning (which i doubt that many people did).
Is there any way to make the time in, say, eastern standard time?
Heya, the default format is UTC, however if you would like to change that you can add the timezone parameter: ...&format=m/d/Y%20-%20h:i%20a¬ext&timezone=America/New_York
Supported timezones here, let me know if this fixes your issue.
oh how cool! thanks so much for replying back fast! i have one more question before i conclude. this is what i have so far… what i am looking to do is on the 1st string delete the hours,min,sec part so i would just show the year(s), month(s), week(s), and day(s) followed. also at the 2nd string i only want just the date and time that user has followed.
[user] has been following [channel] for 8 months, 3 weeks, 5 days, 20 hours, 14 minutes, 8 seconds ([user] has been following [channel] since 06/07/2016 - 06:12 pm EDT)
this is what i would like to see
[user] has been following [channel] for 8 months, 3 weeks, 5 days. (06/07/2016 - 06:12 pm EDT)
how would you write that code out? i’m so lost lol!
Then you’re almost there, your first point, I dont have a solution for it that countdown format is how it is.
For your second point simply add ¬ext at the end of the second urlfetch: ...&timezone=America/New_York¬ext))...