Home / User Guide / Customization / Timestamp Keys
Customization P1

Timestamp Keys

Insert formatted date and time

Timestamp Keys

Insert the current date or time with a single key press. Perfect for journaling, note-taking, and timestamping documents.

What Are Timestamp Keys?

Timestamp keys are special keys that insert formatted date and time when pressed. Instead of manually typing "2026-01-15" or "14:30", you can press a single key.

Quick Start

Using Pre-defined Keys

CleverKeys includes 8 ready-to-use timestamp keys:

Key NameDisplayOutput Example

timestamp_date📅2026-01-15
timestamp_time🕐14:30
timestamp_datetime📆2026-01-15 14:30
timestamp_time_seconds14:30:45
timestamp_date_short📅01/15/26
timestamp_date_long🗓Wednesday, January 15, 2026
timestamp_time_12h🕐2:30 PM
timestamp_iso📋2026-01-15T14:30:45

Adding to Extra Keys

Custom Patterns

Create your own timestamp format using the pattern syntax:

timestamp:'pattern'

Or with a custom symbol:

📅:timestamp:'yyyy-MM-dd'

Pattern Characters

PatternMeaningExample

yyyy4-digit year2026
yy2-digit year26
MMMonth (01-12)01
MMMMonth abbreviationJan
MMMMFull month nameJanuary
ddDay of month (01-31)15
HHHour, 24-hour (00-23)14
hhHour, 12-hour (01-12)02
mmMinutes (00-59)30
ssSeconds (00-59)45
aAM/PM markerPM
EDay of weekWed
EEEEFull day nameWednesday

Custom Pattern Examples

PatternOutput

timestamp:'dd/MM/yyyy'15/01/2026
timestamp:'HH:mm:ss'14:30:45
timestamp:'MMM d, yyyy'Jan 15, 2026
timestamp:'yyyy-MM-dd HH:mm'2026-01-15 14:30
timestamp:'EEEE h:mm a'Wednesday 2:30 PM

Use Cases

Journaling

Add timestamp_datetime to quickly date your entries:

Meeting Notes

Use timestamp_time for timestamps during meetings:

File Naming

Use timestamp_iso for sortable filenames:

Quick Date Entry

Use timestamp_date_short for forms:

Per-Key Customization

You can also assign timestamp keys to any key's short swipe:

Troubleshooting

Wrong Date Format

Make sure your pattern uses the correct characters. Common mistakes:

Pattern Shows Instead of Date

If the pattern text appears instead of the formatted date:

Technical Details

For technical implementation details, see the Timestamp Keys Specification.

Command Palette Adding Layouts