FAQs

Frequently Asked Questions about Discord Timestamp Converter

What is Discord timestamp?

Discord timestamps are special text formats that automatically display time in each user's local timezone. When you send a message with a timestamp, Discord converts it to the viewer's local time, making it easier to coordinate across different time zones.

How to use Discord timestamp converter?

Using our Discord timestamp converter is simple:

  1. Select your desired date and time using the datetime picker
  2. Choose from various timestamp formats displayed below the input
  3. Click the "Copy" button next to your preferred format
  4. Paste the copied timestamp directly into your Discord message

What timestamp formats are available?

  • Short Time (t) - Shows only the time (e.g., "9:30 PM")
  • Long Time (T) - Shows time with seconds (e.g., "9:30:45 PM")
  • Short Date (d) - Shows date in compact form (e.g., "04/20/2024")
  • Long Date (D) - Shows date in full form (e.g., "April 20, 2024")
  • Short Date/Time (f) - Combines date and time (e.g., "April 20, 2024 9:30 PM")
  • Long Date/Time (F) - Shows full date and time (e.g., "Saturday, April 20, 2024 9:30 PM")
  • Relative Time (R) - Shows time relative to now (e.g., "2 hours ago", "in 3 days")

how to add a timestamp in discord bio

  • select your desired date and time and generate discord timestamp in this tool
  • copy the discord timestamp
  • paste the discord timestamp in your discord bio

discord js how to get timestamp

In Discord.js, you can get timestamps in several ways:

  • Using Date.now() / 1000:

    const timestamp = Math.floor(Date.now() / 1000);
    // Use in message
    message.channel.send(`<t:${timestamp}:F>`);
  • From a Discord Message object:

    const timestamp = Math.floor(message.createdTimestamp / 1000);
    // Use in reply
    message.reply(`Message was sent at <t:${timestamp}:F>`);
  • For a specific date:

    const date = new Date('2024-12-31T23:59:59');
    const timestamp = Math.floor(date.getTime() / 1000);
    // Use in message
    message.channel.send(`Event starts at <t:${timestamp}:F>`);
  • Using Discord.js TimeStamp utility:

    const { time } = require('discord.js');
    // Format options: t, T, d, D, f, F, R
    message.channel.send(`Event starts ${time(date, 'F')}`);

Remember to divide by 1000 to convert from milliseconds to seconds when creating Discord timestamps manually. The Discord.js time utility handles this automatically.