Hey @Jordan_Lee!
Since you haven’t given a start date, I’ve guessed it from the time of your post and the amount of days it’s been since, I came up with 2023-03-17
(yyyy-mm-dd), feel free to update the date in the code if necessary, but make sure to follow the yyyy-mm-dd
format.
$(eval today = new Date(); startDate = new Date('2023-03-17'); diff = Math.trunc((today - startDate) / 1000); daysDiff = Math.floor(diff / 86400); `Happy ${daysDiff}th birthday, USERNAME!`;)
Don’t forget to edit the USERNAME
field.
There might be a slight offset of a couple hours since the command works in the UTC timezone.