Title: Date Format not working
Last modified: January 26, 2021

---

# Date Format not working

 *  [iresearchex](https://wordpress.org/support/users/iresearchex/)
 * (@iresearchex)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/date-format-not-working-5/)
 * Hi, I want the date show like dd-mm-yyyy in the email that user will received.
   But It show like yyyy-mm-dd. I have follow the instruction to amend the date 
   format but failed. Please help~
 * link
    [Code in contact form](https://imgur.com/SaXUnsa)
 * [How it display](https://imgur.com/BKcnzgy)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Yordan Soares](https://wordpress.org/support/users/yordansoares/)
 * (@yordansoares)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/date-format-not-working-5/#post-13958141)
 * Hello [@iresearchex](https://wordpress.org/support/users/iresearchex/),
 * The reason this doesn’t work is that you are using a mail tag as a form tag.
 * You need to use a form tag in your Form tab content, like this:
 * `[date* donate-date]`
 * And this mail tag in your Message body field within Mail tab:
 * `[_format_donate-date "d M y"]`
 * See [Date field](https://contactform7.com/date-field/).
 * Best regards,
    Yordan.
 *  Thread Starter [iresearchex](https://wordpress.org/support/users/iresearchex/)
 * (@iresearchex)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/date-format-not-working-5/#post-13963043)
 * Hi, thanks you [@yordansoares](https://wordpress.org/support/users/yordansoares/)
   and now i have another problem, the date in form showing mm/dd/yyyy and i want
   it to show like dd/mm/yyyy it cant, i have tried this code [date-format: dd/mm/
   Y] or [date-format: d/m/y] both failed. Pls help me~
 *  [Yordan Soares](https://wordpress.org/support/users/yordansoares/)
 * (@yordansoares)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/date-format-not-working-5/#post-13963968)
 * Hello [@yordansoares](https://wordpress.org/support/users/yordansoares/),
 * I’m afraid you didn’t read the Doc post I left you above: [Date field](https://contactform7.com/date-field/).
 * This behavior it’s controlled by the browser and locale by default, so it’s not
   under your control. You can read more in the [MDN Web Doc > <input type=”date”>](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date).
 * Best regards,
    Yordan.
 *  Thread Starter [iresearchex](https://wordpress.org/support/users/iresearchex/)
 * (@iresearchex)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/date-format-not-working-5/#post-13973236)
 * hi, [@yordansoares](https://wordpress.org/support/users/yordansoares/)
 * which means this is uncontrollable?
 *  [Yordan Soares](https://wordpress.org/support/users/yordansoares/)
 * (@yordansoares)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/date-format-not-working-5/#post-13973256)
 * Hello [@iresearchex](https://wordpress.org/support/users/iresearchex/),
 * You can control the output in the email, using the special mail tag `[_format_your-
   date "D, d M y"]`, but you can’t control the input UI by default. It’s possible,
   strictly speaking, but it’s not at all easy to achieve, and it is definitely 
   not possible with Contact Form 7 settings.
 * Hope it helps you.
 * Best regards,
    Yordan.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Date Format not working’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

## Tags

 * [contactform7](https://wordpress.org/support/topic-tag/contactform7/)

 * 5 replies
 * 2 participants
 * Last reply from: [Yordan Soares](https://wordpress.org/support/users/yordansoares/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/date-format-not-working-5/#post-13973256)
 * Status: not resolved