Title: Date format
Last modified: May 25, 2018

---

# Date format

 *  Resolved [maprophetie](https://wordpress.org/support/users/maprophetie/)
 * (@maprophetie)
 * [8 years ago](https://wordpress.org/support/topic/date-format-142/)
 * Hi, I have a problem with the date format.
 * I changed the type of “user_submitted_content” to type=”Date” but I don’t know
   how to change the format when the post is submitted.
 * Users can fill the field with a “DD/MM/YYYY” format, but when they submit the
   post I receive a “YYYY-MM-DD” format in the content. How can I change that to
   let the “DD/MM/YYYY” ?
 * Here is my code :
 * <label for=”user-submitted-content”><?php esc_html_e(‘Date de réalisation de 
   la prophétie’, ‘usp’); ?></label>
    <input id=”user-submitted-content” name=”user-
   submitted-content” type=”Date” placeholder=”<?php esc_attr_e(‘Date’, ‘usp’); ?
   >”<?php if (usp_check_required(‘usp_content’)) echo $usp_required; ?> class=”
   usp-textarea”>
 * Thank you very much !
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdate-format-142%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [8 years ago](https://wordpress.org/support/topic/date-format-142/#post-10324279)
 * Glad to help. Can you let me know where you are getting “user_submitted_content”?
   It is not a string that is included anywhere in the plugin (that I could find).
 *  Thread Starter [maprophetie](https://wordpress.org/support/users/maprophetie/)
 * (@maprophetie)
 * [8 years ago](https://wordpress.org/support/topic/date-format-142/#post-10324728)
 * Hi, thanks for your help !
 * I get this part in views > submission-form.php
 * Did you do something ? Since I posted this topic, the dates are in the right 
   format as you can see here in the last posts : [http://maprophetie.fr](http://maprophetie.fr)
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [8 years ago](https://wordpress.org/support/topic/date-format-142/#post-10324783)
 * Thanks, but I still cannot see any string, “user_submitted_content”. On exactly
   which line are you seeing that string?
 * And no I have not made any changes since my previous post. Glad to hear it’s 
   working as desired now, so gonna go ahead and mark this thread as resolved. Feel
   free to post again with any further infos or questions.

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

The topic ‘Date format’ is closed to new replies.

 * ![](https://ps.w.org/user-submitted-posts/assets/icon-256x256.png?rev=2567685)
 * [User Submitted Posts – Enable Users to Submit Posts from the Front End](https://wordpress.org/plugins/user-submitted-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-submitted-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-submitted-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/user-submitted-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-submitted-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-submitted-posts/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/date-format-142/#post-10324783)
 * Status: resolved