Title: Date format and validation question
Last modified: July 24, 2017

---

# Date format and validation question

 *  [dreamvi](https://wordpress.org/support/users/dreamvi/)
 * (@dreamvi)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/date-format-and-validation-question/)
 * Hi,
 * Thanks for the lovely plugin. I searched your forum and this support site. If
   this was already answered, sorry for asking the question again…
 * I have two questions about date:
 * 1) Date format I am accepting two dates
 * <div class=”column-half”>Check in date [date checkindate ]</div>
    <div class=”
   column-half”>Check out date [date checkoutdate ]</div>
 * in Mail, I get the date in this format YYYY-MM-DD
 * Check in date : [checkindate]
    Check out date : [checkoutdate]
 * how to change the date in the email I receive to be in the format DD-MM-YYYY?
 * 2) Date validation questions
 * checkindate >= today
    checkoutdate > checkindate
 * How can I do both of them above?
 * Thanks in advance

Viewing 1 replies (of 1 total)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/date-format-and-validation-question/#post-9345269)
 * See [Date Field](https://contactform7.com/date-field/)

Viewing 1 replies (of 1 total)

The topic ‘Date format and validation question’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/date-format-and-validation-question/#post-9345269)
 * Status: not resolved