Timezones inaccurate

Hello! While designing a test bot from official discord.js guide and not changing a code I used /user which gives information about the user and the first attachment was the result but after some time with no changes made to the code the bot replies with a time calculated for the timezone GMT+0000 as in 2nd attachment, Why?
No description
No description
8 Replies
d.js toolkit
d.js toolkit12mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
treble/luna
treble/luna12mo ago
show your code
Anurag Bansal
Anurag BansalOP12mo ago
Sure, just a second! This is the exact same code as in discord.js guide for getting started, I would like to know why now it shows timezone GMT+0000 for every user that uses the slash command
Anurag Bansal
Anurag BansalOP12mo ago
No description
Anurag Bansal
Anurag BansalOP12mo ago
It will show the time calculated by the timezone of the hoster? In the first attachment, I was hosting the bot from vs code and in 2nd one it's hosted on a server Is there any way of showing the timezone of the user who used the command?
treble/luna
treble/luna12mo ago
use epoc timestamps
d.js docs
d.js docs12mo ago
guide Popular Topics: Formatters - Timestamps read more
Anurag Bansal
Anurag BansalOP12mo ago
I also do know the timezones of other users since this is the bot for a private server of friends but first I'll check the guide out Thanks!
Want results from more Discord servers?
Add your server