• Post Reply Bookmark Topic Watch Topic
  • New Topic

Solution for Unparsable Date Exception  RSS feed

 
Steve Dyke
Ranch Hand
Posts: 1783
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the parameter I am sending is a string 09/01/2009. The following code returns an Unparsable Date "09/01/2009". Please help resolve this.

 
Henry Wong
author
Sheriff
Posts: 23295
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Your date parser is configured to take a date of the format "MMM-yy" or the month, followed by a dash, followed by two digits that represents the year. This is complete different, in term of format, to what you are actually sending to it.

Henry
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!