PlaceholdersParsers
Timestamp Parser for Placeholders
Convert UNIX timestamps or date variables into human-readable formats in Tickety placeholders, with every available format, the aliases and examples.
Usage
To use the parser, insert the following syntax in your text:
{timestamp(format):variable}
- You can also reference this parser using the aliases: time, ts
Examples
- Converting a UNIX timestamp:
- Input:
{timestamp(shortTime):1735772400} - Output:
00:00
- Using placeholders:
- Input:
{timestamp(relative):{member.joinedAt}} - Output:
5 hours ago
Available Formats
| Format | Description | Example |
|---|---|---|
| shortTime | Time in hours and minutes | 10:15 |
| longTime | Time with seconds | 10:15:00 |
| shortDate | Date in MM/DD/YYYY format | 01/02/2025 |
| longDate | Date in DD Month YYYY format | 02 January 2025 |
| dateWithTime | Date with time in short format | 02 January 2025 10:15 |
| fullDateTime | Full date and time, with weekday | Thursday, 2 January 2025 10:15 |
| shortDateTime | Short date and time | 01/02/2025, 10:15 |
| longDateTime | Short date and long time | 01/02/2025, 10:15:00 |
| relative | Relative time description | 1 day ago |
Date Parser
Format timestamps and dates in Tickety placeholders with custom patterns for the date, the time or both, with every pattern, special formats and examples.
String Format Parser
Apply text transformations like lowercase, uppercase, capitalize and escape to text or variables in Tickety placeholders, plus the Ordinal Format Parser.