timestamps
i need help with timestamps, this example command but how i do something like this with the time?
9 Replies
- 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!i defined the message.createdTimestamp in my code
and when i try to divide or anything else it just shows me other things
not seconds
it just shows me this
ok
@Qjuh ok so i did it it worked but how i convert this to seconds ?
Its not seconds
I want it to count the seconds from when the first command was executed
I dont know how to do it
I saved the date in database
Now how i count how much seconds pass
store when the command was first executed
when the user comes back, subtract that from the current time