Output format

March 08, 2023 09:17:10
carlosecastillo
Topics: 5
Messages: 11
Hi Im using [e2pdf-format-output explode="/" output="{2}"]{Fecha de Firma:2060}[/e2pdf-format-output] to bring the year, and now brings 2023, is it posible to bring only 23?

Best
March 08, 2023 11:00:15
E2Pdf
Topics: 7
Messages: 3617
Support
Hi,

You must be able to use "substr" filter:

[e2pdf-format-output substr="-2"]{Fecha de Firma:2060}[/e2pdf-format-output]

Or reformat the date as:

[e2pdf-format-date format="y"]{Fecha de Firma:2060}[/e2pdf-format-date]

We remain at your service.

We would really appreciate your feedback at WordPress.org!
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.