Title: Error parsing date using strptime
Last modified: October 29, 2016

---

# Error parsing date using strptime

 *  [DeBAAT](https://wordpress.org/support/users/debaat/)
 * (@debaat)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/error-parsing-date-using-strptime/)
 * Hai,
 * The function parse_input() uses strptime_parse() to parse an input string for
   a valid date.
    As the latter uses strptime(), it checks on the existence of strptime().
   However, only on the first occurence in line 169 of file “PDb_Date_Parse.class.
   php”. On my site, it generates an error on line 184 where it is not validated.
   Can you please fix this in a next version?
 * Thanks.
    Jan

Viewing 1 replies (of 1 total)

 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/error-parsing-date-using-strptime/#post-8371613)
 * Thanks for this report.
 * You are correct that it should check for the presence of the function before 
   attempting to use it, thanks for pointing that out, it will be fixed in the next
   release.
 * I suspect you don’t have the “intl” PHP module installed. It is recommended that
   this module be installed on all non-English webservers. You can ask your web 
   host about this.
 * Another point to consider is that using the “strict dates” setting requires that
   all dates be in the format specified in the “Input Date Format” setting.

Viewing 1 replies (of 1 total)

The topic ‘Error parsing date using strptime’ is closed to new replies.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/error-parsing-date-using-strptime/#post-8371613)
 * Status: not resolved