I was using "dd-mon-yyyy hh24:mm" as my date format. Here I have specified mm for two times. That’s why exception occurred. I was expecting minute. Instead of mm I need to use mi. So the correct date format string would be
"dd-mon-yyyy hh24:mi"
No comments:
Post a Comment