Selectable Date
Inserts the selected date in the specified format.
During the expansion, the calendar will be displayed, and you will be able to select the date.
Parameters
1️⃣ Field Title
The title of the date field. It appears on the form when you expand the snippet.
If you copy-paste the same placeholder with the same title and parameters, it will automatically reuse the same value. When you change the placeholder in one place, it will be updated in all other places.
2️⃣ Date Format (default: dd.MM.yyyy
)
The format of the date. You can use standard date format patterns.
Examples:
Pattern | Description |
---|---|
yyyy-MM-dd | 2020-05-01 |
M/d/yyyy | 5/1/2020 |
E, d MMM yyyy | Mon, 2 Jun 2020 |
Where:
Token | Description |
---|---|
yy | two-digit year |
yyyy | four-digit year |
MM | two-digit month |
MMM | shorthand month |
MMMM | full month name |
dd | two-digit day |
E | shorthand week day |
EEEE | full week day name |
3️⃣ Language (default: English
)
The language of the date. This parameter will affect the month and week day names.
Syntax
{@date|Deadline|E, d MMM yyyy|English@}
This snippet will insert the following date when expanded:
Thu, 16 Jan 2025
Assuming the selected date is January 16, 2025.
Use Cases
This placeholder can be useful when you use the same template each time but you need to select a different date each time.
Example
Dear Supplier,
Please deliver the goods by {@date|Delivery Date|dd.MM.yyyy|English@}.
Best regards,
Snippety