Show message timestamp?

댓글

댓글 10개

  • moonlightcapital
    You can deconstruct the snowflake message ID to get the timestamp.
    -2
  • Katerina

    "deconstruct the snowflake message ID"  what does that even mean?  I need messages to show if they were today, yesterday, last week, a month ago etc.  Not just the time.  How do you get the full date to show?

    1
  • Twospirited

    so, why's discord not just do this for me? oO

    0
  • Questionable

    > so, why's discord not just do this for me? oO

    This isn't a built-in feature because, for most chatting purposes, you don't need to know the time a message was sent down to the millisecond (or second, for that matter). It's worth noting that, if you want separate timestamps for each message, you can use the "compact" message display style, which shows the timestamp for each message with minute precision. If you want to know when a message was received with millisecond precision, you're free to copy the message ID and use a tool such as this one to quickly extract the timestamp.

    1
  • Twospirited

    there's only one discord in the list of those i'm in, that doesn't give timestamps for the messages, the rest do

     

    0
  • _lunamoon_

    "you don't need to know the time a message was sent"
    Um yes we do. Not down to the millisecond. You were exaggerating lol. But yes, simply just the date and time like: 4/2/2020 9:00am. Many chat platforms have this, so I don't see why not. Many people would highly appreciate this. It would be super convenient on mobile devices, especially mobile since we can't "hover" like we can on pc to see the timestamp.

    Also we can't do "compact" style on mobile. So that advice is completely useless for mobile users. We need this timestamp for mobile! It's crazy odd why it doesn't have it already, but many chat apps do?

    MoonlightCapital and Questionable, your suggestion for looking for this timestamp by using some kind of tool and going into the code in Developer Tools is too tedious for many discord users. I mean I guess cool for those who don't mind doing that? Go ahead and do that for yourselves, it's fine. But you need to look at the bigger picture. Most people don't want to be bothered with using tools, and digging into code, wasting several minutes just to see the timestamp. Id rather suggest Discord add a timestamp for mobile users, since pc already has it.

    It should take a few seconds to find and see the timestamp, not several minutes. People want a user friendly interface.

    1
  • DFPercush

    Old thread, but this continues to be relevant and I just hacked a solution, figured I'd share. You can do it with a little console magic. Ctrl-Shift-I (eye), go to the console tab and paste this, yes this is generally dangerous but just look at the code, it's just doing math with dates.

    when = (el) => new Date(parseInt(((BigInt(el.id.substr(16)) & BigInt(0xFFFFFFFFFFC00000)) >> BigInt(22)).toString()) + new Date("2015-01-01").getTime());

    Next Ctrl+Shift+C to inspect an element (or click the mouse cursor icon in the top left of the dev tools) and click on the message in question. This will highlight the html source in the dev tools. Right click there > Copy > Copy JS path.

    Then, back in the console, type 

    when(    paste here     )

    and it should spit out a date and time. I also wish this was a regular feature, as there can often be quite a significant amount of scrolling to find a date when you haven't visited a server in a while.

    0
  • Questionable

    DFPercush If you want to scroll to a particular date, you can use the built-in search feature using a filter "before: [date]" and jump to the first result. If you want to get the date of a particular message, see my previous answer; in short, right-click the message > "Copy ID", then paste it into some Discord snowflake ID tool such as this one. Security concerns aside, it's probably also easier than clacking up a JS script each time.

    0
  • VanessaHuff

    Hey thanks for the super helpful reply. I'm not sure how I missed that thread. I haven't quite mastered the search function on here. The Information you shared above is great. I have been reading all you shared here. In this you explained everything very well. Thanks I am going to bookmark this https://support.discord.com/hc/en-us/community/posts/360043440672-Show-message-timestamp-855-area-code 

    0

댓글을 남기려면 로그인하세요.