Skip to Content
🎉 Tickety now has applications. Read more →
Documentation

Date Parser

The Date Parser allows you to format timestamps and dates using custom patterns.

Usage

To use the parser, insert the following syntax in your text:

{date(format):timestamp}

Format Patterns

  • DD - Day of month (01-31)
  • MM - Month (01-12)
  • YYYY - Full year (e.g., 2025)
  • YY - Short year (e.g., 25)

Examples

  • {date(DD/MM/YYYY):1735772400} → 01/02/2025
  • {date(MM/DD/YY):1735772400} → 02/01/25
  • {date(YYYY-MM-DD):1735772400} → 2025-02-01

Variable Support

You can use variables as timestamp sources:

  • {date(DD-MM-YYYY):{member.createdAt}} → Formats member creation date
  • {date(DD/MM/YY):{message.createdAt}} → Formats message creation date

Note: Timestamps should be in Unix format (seconds since epoch).