var day = this.required.get("value").split("-"); var whatever = new Date(parseInt(day[0]),(parseInt(day[1])-1),parseInt(day[2]));
No comments:
Post a Comment