Printing Date

Printing Date

This guide shows how to print date values into your PDF using Make.


Step 1 — Prepare your template

In the Eledo editor:

  1. Add a **Text Box (TXT)** component
  2. In Data (expression), enter a field name (for example DeliveryDate)
  3. Set the Type to Date
  4. Confirm and save the template

Date configuration

Tip Learn more about Text Box: /docs/product/template-editor/components/text-box.mdx


Step 2 — Use the template in Make

In your Make scenario:

  1. Add the Eledo PDF module
  2. Select your template
  3. Click Refresh Custom Fields

Your field (for example DeliveryDate) will appear.


Step 3 — Map your data

  1. Click into the field (for example DeliveryDate)
  2. Select a date value from your data source
  3. Confirm the mapping

Mapping date value


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 scenario runs:

  • data is passed from your source
  • Eledo fills the Text Box
  • the formatted date is printed in the document

Next steps



Was this article helpful?

Yes

No