PDF Editor: How to format date and time within a table

  • Profile Image
    it564
    Asked on March 24, 2026 at 10:26 PM

    Ho do I format the date and time within this table in PDF Editor?

    I would like it formatted to 25/03/2026 12:54PM

    
PDF Editor: How to format date and time within a table
Image-1

    
PDF Editor: How to format date and time within a table
Image-2

  • Profile Image
    Podo: Support Specialist
    Replied on March 24, 2026 at 10:27 PM

    Hi IT,

    Thanks for reaching out to Jotform Support. I'm an AI assistant here to assist you.

    To format the date and time within a table in Jotform PDF Editor to the format 25/03/2026 12:54PM, here’s how you can do it:

    1. Open your PDF Editor for the form where the table is located.
    2. Select the date/time field inside the table that you want to format.
    3. Use a date formatting tag with the desired format. Jotform supports PHP date formatting in PDF Editor. For your required format, you can use a format string like {DATE:d/m/Y g:ia} where:
      • d is day with leading zeros (25)
      • m is month with leading zeros (03)
      • Y is full year (2026)
      • g is 12-hour format hour without leading zeros (12)
      • i is minutes with leading zeros (54)
      • a is lowercase am/pm (pm)
    4. Replace your current date/time field tag in the table cell with this formatted tag.
    5. Save the PDF template and preview to confirm the date/time appears as 25/03/2026 12:54PM.

    If you are using separate date and time fields, combine them with the formatting tag accordingly.

    Give it a try and let us know how it goes.

  • Profile Image
    it564
    Replied on March 24, 2026 at 10:34 PM

    {date:d/m/y} is showing as 3/0/2026

  • Profile Image
    Podo: Support Specialist
    Replied on March 24, 2026 at 10:34 PM

    Hi IT,

    The issue you're experiencing with {date:d/m/y} showing as 3/0/2026 instead of 25/03/2026 is likely due to incorrect date format characters.

    In Jotform PDF Editor, the correct formatting to display the date as 25/03/2026 is:

    • d for day with leading zeros (e.g., 25)
    • m for month with leading zeros (e.g., 03)
    • Y for full year (e.g., 2026)

    Make sure you use uppercase Y for the year instead of lowercase y. The lowercase y may cause unexpected results.

    So, your date format tag should be {date:d/m/Y} to get the correct output.

    For date and time combined as you want (e.g., 25/03/2026 12:54PM), use the format tag like this:

    {date:d/m/Y g:ia}

    Where:

    • g is 12-hour format hour without leading zeros
    • i is minutes with leading zeros
    • a is lowercase am/pm

    Give this a try and let us know if it resolves the issue.

  • Profile Image
    it564
    Replied on March 24, 2026 at 10:35 PM

    No, it is still showing the same 3/0/2026


  • Profile Image
    Podo: Support Specialist
    Replied on March 24, 2026 at 10:35 PM

    Hi IT,

    Based on the image description you provided, it looks like the "RECEIVED DATE / TIME" field in your PDF Editor table is showing the date as "Wednesday, March 25, 2026 12:54 PM" but you want it formatted as "25/03/2026 12:54PM."

    The issue with the date showing incorrectly as "3/0/2026" suggests that the date field might not be correctly recognized or the formatting tag might not be applied properly in the PDF Editor.

    Here’s what you can check or try:

    1. Ensure the date field is correctly linked to the form's actual date input field.
    2. Use the correct date formatting tag exactly as {details_date:d/m/Y} if your field name is details_date. For time, use {details_time:g:ia} if time is separate.
    3. Combine date and time fields in the table cell like this: {details_date:d/m/Y} {details_time:g:ia}.
    4. Save and preview the PDF to check the output.

    If the date is still not displaying correctly, please confirm the exact field names you are using in your form and PDF Editor, or share a screenshot of your PDF Editor setup for the date/time field.

    Give it a try and let us know how it goes.

  • Profile Image
    it564
    Replied on March 24, 2026 at 10:36 PM

    the field name is {details_date}
    The time is in a separate field

  • Profile Image
    Podo: Support Specialist
    Replied on March 24, 2026 at 10:36 PM

    Hi IT,

    Thank you for confirming the field name is {details_date} and that the time is in a separate field.

    To format the date and time together in your PDF Editor table as 25/03/2026 12:54PM, you should combine the two fields using the correct formatting tags like this:

    {details_date:d/m/Y} {details_time:g:ia}

    Make sure you replace {details_time} with the actual time field name you have in your form.

    Then, save and preview the PDF to see the formatted date and time.

    If the formatting still does not work as expected, please double-check that the field names are exactly correct and that the fields contain valid date and time values.

    Give it a try and let us know how it goes.

  • Profile Image
    it564
    Replied on March 24, 2026 at 10:38 PM

    {details_date:d/m/Y} {details_time:g:ia} is showing as 3/0/2026 12:54 PM

  • Profile Image
    Podo: Support Specialist
    Replied on March 24, 2026 at 10:38 PM

    Hi IT,

    From your description, the date field {details_date} is showing an incorrect format as "3/0/2026" despite using the correct formatting tag {details_date:d/m/Y}. This suggests that the date value might not be properly recognized or stored in the expected format in your form data.

    Here’s what you can check or try next:

    1. Verify the original date input field in your form to ensure it is capturing the date correctly and is set as a Date field type.
    2. Check if the date value is stored correctly by previewing the form submissions or data table to confirm the date appears as expected.
    3. Ensure the field name details_date exactly matches the field used in the PDF Editor and that there are no typos or mismatches.
    4. Try using the raw date field without formatting in the PDF Editor to see what value it outputs. This can help identify if the issue is with the data or the formatting.
    5. If the date and time are separate fields, combine them carefully in the PDF Editor using the formatting tags: {details_date:d/m/Y} {details_time:g:ia}.

    If possible, please share a screenshot of your PDF Editor setup for the date/time fields or the form field settings for further assistance.

    Give these steps a try and let us know how it goes.

  • Profile Image
    it564
    Replied on March 24, 2026 at 10:40 PM

    
PDF Editor: How to format date and time within a table
Image-1
    
PDF Editor: How to format date and time within a table
Image-2

  • Profile Image
    Podo: Support Specialist
    Replied on March 24, 2026 at 10:41 PM

    Hi IT,

    Based on the detailed image description you provided, the "RECEIVED DATE / TIME" field in your PDF Editor table is currently displaying the date and time in a long format like "Wednesday, March 25, 2026 12:54 PM". You want to format this to a shorter format like "25/03/2026 12:54PM" within the table.

    The table uses placeholders such as {details_date} for the date and {details_time} for the time, which are separate fields.

    To achieve the desired format, you should combine these fields in the PDF Editor using the correct date and time formatting tags like this:

    {details_date:d/m/Y} {details_time:g:ia}

    This will format the date as day/month/year with leading zeros and the time in 12-hour format with lowercase AM/PM, matching your requested style.

    If you are still seeing incorrect date output like "3/0/2026", it may indicate that the date value stored in {details_date} is not recognized properly or the field is not set as a Date type in your form.

    Please verify that the original form field for the date is correctly set as a Date field and that the data is stored properly. Also, ensure the field names in the PDF Editor exactly match your form fields.

    If you can provide a screenshot of your PDF Editor setup for these fields or the form field settings, it would help to diagnose the issue further.

    Let us know if you need more assistance with this.

  • Profile Image
    it564
    Replied on March 24, 2026 at 10:42 PM

    I have confirmed the form is a date field and the field name is correct.
    When there is no formatting in the table, the date is showing although in the wrong format

  • Profile Image
    Podo: Support Specialist
    Replied on March 24, 2026 at 10:42 PM

    Hi IT,

    Since you have confirmed that the form field is set as a Date field and the field name is correct, but the date still shows in the wrong format without any formatting applied in the PDF Editor, here’s what you can do to change the default date format in the PDF:

    1. Open PDF Editor for your form by clicking on More and selecting Open PDF Editor.
    2. Select the Date element in the PDF Editor that corresponds to your date field.
    3. Click on the Gear icon (settings) for the Date element to open the Datetime Settings panel.
    4. Choose your preferred date format from the available options in the Datetime Settings panel.
    5. Save your changes and preview the PDF to see the updated date format.

    This method changes the default date format for the date field in the PDF document. If you want to customize the format further using tags, ensure the date value is correctly recognized by the PDF Editor.

    Give it a try and let us know how it goes.

  • Profile Image
    it564
    Replied on March 24, 2026 at 10:43 PM

    I have already set the preferred date format in the form. The issue is when the date displays in the PDF editor.

  • Profile Image
    Podo: Support Specialist
    Replied on March 24, 2026 at 10:44 PM

    Hi IT,

    Since you have already set the preferred date format in the form but the date still displays incorrectly in PDF Editor, the issue is likely related to the default date format setting within the PDF Editor itself.

    Here’s how to change the default date format in PDF Editor:

    1. Open PDF Editor for your form by clicking on More and selecting Open PDF Editor.
    2. Select the Date element in the PDF Editor that corresponds to your date field.
    3. Click on the Gear icon (settings) for the Date element to open the Datetime Settings panel.
    4. Choose your preferred date format from the available options in the Datetime Settings panel.
    5. Save your changes and preview the PDF to see the updated date format.

    This method changes the default date format for the date field in the PDF document, independent of the form's date format setting.

    Give it a try and let us know how it goes.

  • Profile Image
    it564
    Replied on March 24, 2026 at 10:45 PM

    I cannot do this as it is embedded in a table. I need to properly format the field within the table

  • Profile Image
    Podo: Support Specialist
    Replied on March 24, 2026 at 10:45 PM

    Hi IT,

    When date and time fields are embedded inside a table in PDF Editor and you cannot use the default date format settings, the best approach is to use the Text Field element to customize the formatting.

    Let me help you with that:

    1. Open PDF Editor for your form.
    2. Add a Text element inside the table cell where you want the formatted date and time to appear.
    3. Click inside the Text element to open the text editor toolbar.
    4. Use the Form Fields dropdown in the toolbar to insert your date and time fields with the desired formatting tags, for example: {details_date:d/m/Y} {details_time:g:ia}.
    5. Save your changes and preview the PDF to confirm the date and time display correctly in the table.

    This method allows you to apply custom formatting to date and time fields within table cells, bypassing the limitations of the default date element inside tables.

    Give it a try and let us know how it goes.

  • Profile Image
    it564
    Replied on March 24, 2026 at 10:46 PM

    we are going around in circles. Please submit to a human support specialist

  • Profile Image
    Podo: Support Specialist
    Replied on March 24, 2026 at 10:46 PM

    Hi IT,

    One of our Support Team members will take it from here to follow up shortly.

  • Profile Image
    Rica Support Team Lead
    Replied on March 24, 2026 at 11:12 PM

    Hi it564,

    You can use the following date tag:

    {details_date:DD/MM/yyyy}

    
PDF Editor: How to format date and time within a table
Image-1

    Here's the result:

    
PDF Editor: How to format date and time within a table
Image-2

    Let us know if there’s anything else we can help you with.