Printing Date
This guide shows how to print date values into your PDF using n8n.
Step 1 — Prepare your template
In the Eledo editor:
- Add a Text Box (TXT) component
- In Data (expression), enter a field name (for example
DeliveryDate) - Set the Type to Date
- Confirm and save the template

tip
Learn more about Text Box: /docs/product/template-editor/components/text-box.mdx
Step 2 — Use the template in n8n
In your n8n workflow:
- Add the Eledo PDF node
- Select your credentials
- Choose your template
- Make sure Input is set to Guided Fields
Step 3 — Add and fill the field
In the Eledo node:
- Click Add Date Field
- Select the field (for example
DeliveryDate) - Enter a date value into the Value field

Step 4 — Format the date (recommended)
By default, dates may be displayed in an unexpected format depending on the input.
Use formatting functions in the template to control output.
Examples:
DATE(DeliveryDate, "yyyy-MM-dd")
DATE(DeliveryDate, "dd/MM/yyyy")
DATE(TODAY(), "yyyy-MM-dd")
tip
Learn more about date formatting:
→ Formatting Dates
→ Date Functions
Result
When the workflow runs:
- the value is passed to Eledo
- Eledo fills the Text Box
- the formatted date is printed in the document
Next steps
- Printing numbers → Printing Number
- Build full workflow → Generate Your First PDF
Was this article helpful?
Yes
No