Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    DateUtil.parseInput("2015-10-06", "yyyy-MM-dd") returning null

    I am calling the method DateUtil.parseInput(String dateString, String format) with parameters of ("2015-10-06", "yyyy-MM-dd") and I am getting a null back as the value.

    I am am using the SmartGWT 4.1p dated April 1st, 2014

    #2
    Any update on this?

    I had to switch my code to use gwt instead to make it work:

    Code:
    DateTimeFormat dtf = DateTimeFormat.getFormat("yyyy-MM-dd");
    Date startDate = dtf.parse(dateStr);

    Comment

    Working...
    X