Title: Invalid date
Last modified: August 20, 2016

---

# Invalid date

 *  Resolved [hejeva2](https://wordpress.org/support/users/hejeva2/)
 * (@hejeva2)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/invalid-date/)
 * I have a custom date field added to my posts.
    After I enter a date (using the
   calendar popup picker) Let’s say I choose September 14, 2012 and update the post.
   It saves the post and displays the content of the field as ‘1347580800’ and on
   the front end displays ‘March 14, 0800’
 * This has been working until the plugin was ugraded to 1.2. Is there a fix for
   this or do I have to roll back to previous version.
 * [http://wordpress.org/extend/plugins/types/](http://wordpress.org/extend/plugins/types/)

Viewing 15 replies - 1 through 15 (of 26 total)

1 [2](https://wordpress.org/support/topic/invalid-date/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/invalid-date/page/2/?output_format=md)

 *  [Bigul Malayi](https://wordpress.org/support/users/mbigul/)
 * (@mbigul)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/invalid-date/#post-3562532)
 * Hi hejeva,
 * It is working fine for me. Please let me know the following.
 * 1) Your WordPress versions
    2) Your theme 3) Other Pluug-ins you are using 4)
   Your OS & PHP version.
 * _[ [Signature moderated](http://codex.wordpress.org/Forum_Welcome#Signatures).]_
 *  Thread Starter [hejeva2](https://wordpress.org/support/users/hejeva2/)
 * (@hejeva2)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/invalid-date/#post-3562568)
 * WordPress 3.5.1
    Theme Alyeska (child theme) from Themeblvd
 * Plugins activated:
    All in One SEO Pack Allow PHP in Posts and Pages Always Remember
   Me BackupBuddy Contact Form 7 Easy Privacy Policy Easy Theme and Plugin Upgrades
   Envato WordPress Toolkit Flexi Quote Rotator Google Custom Search Google XML 
   Sitemaps HeadSpace2 Page Security by Contexture Print Friendly and PDF Quick 
   Page/Post Redirect Plugin Social Sharing Toolkit Spam Free WordPress TinyMCE 
   Advanced Types – Complete Solution for Custom Fields and Types WYSIWYG Widgets
 * Operating System: Linux CentOS
    PHP Version: 5.2.17
 *  [gr0uch0mars](https://wordpress.org/support/users/gr0uch0mars/)
 * (@gr0uch0mars)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/invalid-date/#post-3562579)
 * I have this problem too. Sometimes it doesn’t save some dates: when I try “06/
   01/1954”, it works. When I try “01/06/1954”, it displays “-491875200”. Why?
 * **WordPress**: 3.5.1
    **Theme**: BuddyPress Default **Plugins**:
    - BuddyPress
    - BuddyPress Multilingual
    - Posts 2 Posts
    - WPML Multilingual CMS
 * **OS**: Mac OS X 10.8.2
    **PHP**: 5.3.15
 *  Thread Starter [hejeva2](https://wordpress.org/support/users/hejeva2/)
 * (@hejeva2)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/invalid-date/#post-3562580)
 * FYI:
    I made a copy of the website: Disabled all plugins except for types and
   also switched the theme to Twenty Twelve.
 * The same problem still arises.
 * If you want access to dev site, to take a look at it please let me know and I
   can get credentials to you.
 *  [gr0uch0mars](https://wordpress.org/support/users/gr0uch0mars/)
 * (@gr0uch0mars)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/invalid-date/#post-3562623)
 * For our information: The plugin stores the dates in the db as timestamps (“-491875200”),
   so the problem must be in returning the value with the correct format (“01/06/
   1954”).
 *  [Bigul Malayi](https://wordpress.org/support/users/mbigul/)
 * (@mbigul)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/invalid-date/#post-3562640)
 * Hi hejeva2,
 * I am not able to replicate the issue in my local copy. Please send me your DB
   dump and log-in details to my mail -> [bigul.m@wpml.org](https://wordpress.org/support/topic/invalid-date/bigul.m@wpml.org?output_format=md).
 * Please Note: Kindly take a back up before sending the database.
 * _[ [Signature moderated](http://codex.wordpress.org/Forum_Welcome#Signatures).]_
 *  Thread Starter [hejeva2](https://wordpress.org/support/users/hejeva2/)
 * (@hejeva2)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/invalid-date/#post-3562645)
 * I sent you an email with the requested information. Let me know if you don’t 
   get it. The db is attached.
 *  [Bigul Malayi](https://wordpress.org/support/users/mbigul/)
 * (@mbigul)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/invalid-date/#post-3562650)
 * Hi hejeva2,
 * I have received your mail. We will work on it and update you soon.
 * _[ [Signature moderated](http://codex.wordpress.org/Forum_Welcome#Signatures).]_
 *  [Joseneas](https://wordpress.org/support/users/enoquenroll/)
 * (@enoquenroll)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/invalid-date/#post-3562664)
 * Hi mbigul?
 * I’m having problems with the date format. My site is in Portuguese, and when 
   I set a date in the date field, it shows a message that error has the date is
   invalid! : (
 * He does not accept date in format: 20/03/2013. dd/mm/yyyy
 * Have any tips?
 * Thank you.
 *  [Bigul Malayi](https://wordpress.org/support/users/mbigul/)
 * (@mbigul)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/invalid-date/#post-3562671)
 * Hi hejeva2,
 * It is happens rarely when in one group has multiple date fields. We will add 
   fix for it soon.
 * _[ [Signature moderated](http://codex.wordpress.org/Forum_Welcome#Signatures).]_
 *  Thread Starter [hejeva2](https://wordpress.org/support/users/hejeva2/)
 * (@hejeva2)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/invalid-date/#post-3562680)
 * Just updated the plugin and if the 1.2.1 release had the bug fix in it. It didn’t
   help and the issue is there there.
 * I don’t think its rare or I have found a way to hit the bug frequently because
   9 out of the first 50 posts have the issue.
 *  [Joseneas](https://wordpress.org/support/users/enoquenroll/)
 * (@enoquenroll)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/invalid-date/#post-3562684)
 * They have made available a new version, but did not correct the error with the
   field of type date.
 * Let’s wait for the next version, because the plugin is very good!
 * My question is: WordPress has an option to set the date format (which I believe
   is in accordance with the user’s region) and because the plugins do not use this
   definition?
 * What is the definition of default date if the plugins do not use this feature
   of the WordPress API?
 *  [yiannisf](https://wordpress.org/support/users/yiannisf/)
 * (@yiannisf)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/invalid-date/#post-3562687)
 * Hi there!
 * I run into the same issue myself. I am running WP v2.5.1 and the Types plugin
   v1.2.1 which I used to create a custom post type to which I added two custom 
   date fields.
    Both these date fields seem to have an issue with some specific
   dates.
 * For example if I input the date 2012/11/22 and hit the update button on the admin
   panel, the value on the admin panel is replaced with 1353542400 which translates
   to 2400/03/25 on the blog.
 * I am pretty sure that the fact that part of the wrong date is part of today’s
   date (03/25) is somehow relevant, but I am not sure how.
 * Also note that this does not happen with all the dates.
 *  [Bigul Malayi](https://wordpress.org/support/users/mbigul/)
 * (@mbigul)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/invalid-date/#post-3562695)
 * Hi All,
 * Sorry for the issues. We will fix the bug in Types 1.3. Our developers are working
   on it.
 * _[ [Signature moderated](http://codex.wordpress.org/Forum_Welcome#Signatures).]_
 *  [yiannisf](https://wordpress.org/support/users/yiannisf/)
 * (@yiannisf)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/invalid-date/#post-3562696)
 * That’s good to know!
 * In the meantime could someone post a link from where I could download version
   1.1.3.4 so that I rollback to it?
 * Is there any rough estimation about when this new version will be available?
 * thx!

Viewing 15 replies - 1 through 15 (of 26 total)

1 [2](https://wordpress.org/support/topic/invalid-date/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/invalid-date/page/2/?output_format=md)

The topic ‘Invalid date’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/types_ced1d3.svg)
 * [Toolset Types - Custom Post Types, Custom Fields and Taxonomies](https://wordpress.org/plugins/types/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/types/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/types/)
 * [Active Topics](https://wordpress.org/support/plugin/types/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/types/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/types/reviews/)

 * 26 replies
 * 6 participants
 * Last reply from: [Bigul Malayi](https://wordpress.org/support/users/mbigul/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/invalid-date/page/2/#post-3562733)
 * Status: resolved