Date wrong value

July 20, 2026 13:53:01
safi2266
Topics: 1
Messages: 4
Hello
I use WPForms to collect young students' data printed on PDF forms. All fields render perfectly except for the field of type date; it almost shows the same value on all PDF forms, which is 01-01-1970, but the stored date holds the right birthday date correctly. I use this shortcode

`[e2pdf-format-date format="d - m - Y"]{field_id="132"}[/e2pdf-format-date]`

to render date formatting on PDF,

where:
field_id=132 has
Type: Date
Required: True
Advanced Date Options: Date Dropdown

Please help me to correct this
July 20, 2026 13:59:40
E2Pdf
Topics: 7
Messages: 3630
Support
Hello,

Could you please provide an example of the output in the PDF when the field slug is used without the [e2pdf-format-date] shortcode wrapper, simply as {field_id="132"}?

We would really appreciate your feedback at WordPress.org!
July 20, 2026 14:23:08
safi2266
Topics: 1
Messages: 4

Show like this 2982014 for the date 29-08-2014
July 20, 2026 14:43:59
E2Pdf
Topics: 7
Messages: 3630
Support
It appears to have an incorrect format. Usually, the value should include a "." or "/" between the date components. Could you please clarify which format is configured in the Date field settings in the WPForms directly?

We would really appreciate your feedback at WordPress.org!
July 20, 2026 15:10:06
safi2266
Topics: 1
Messages: 4
The format on WPForms date field used "/" as separator
July 20, 2026 15:27:27
E2Pdf
Topics: 7
Messages: 3630
Support
Could you please try using the following construction:

[e2pdf-format-date format="d - m - Y"][e2pdf-format-output search="/" replace="."]{field_id="132"}[/e2pdf-format-output][/e2pdf-format-date]

We would really appreciate your feedback at WordPress.org!
July 22, 2026 13:11:53
safi2266
Topics: 1
Messages: 4
Yes, with the above shortcode, the issue seems to have been solved. Many thanks.
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
© 2017 - 2026, https://e2pdf.com

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according to our Cookie Policy.