date_format_gs1_ai

Formats a date for GS1 AI (YYYYMMDD).

Example

1
{{ '2024-01-01' | date_format_gs1_ai }} => 240101

Input

Type Parameter Description Required
string date The date to format. Comes before the | sign. Required

Output

Type Description
string The formatted date