[Resolved] interaction.user.createdTimestamp is returning the wrong year

so when i run
await interaction.reply("<t:"+interaction.user.createdTimestamp+":F>");
await interaction.reply("<t:"+interaction.user.createdTimestamp+":F>");
it shows the correct month and date, except the year it shows is 53002
4 Replies
MrMythical
MrMythical3y ago
divide by 1000, timestamps take seconds
TheRealGodSpeedy
TheRealGodSpeedyOP3y ago
oh lemme try that it returns <t:1610415739.356:F> hello?
TomatoCake
TomatoCake3y ago
Math.round(<timestamp in ms> / 1000) <t:1610415739:F>
TheRealGodSpeedy
TheRealGodSpeedyOP3y ago
oh lemme try that omg ty]
Want results from more Discord servers?
Add your server