Java Create Calendar From String. } catch (parseexception e) { e.printstacktrace(); Gets calendar instance with default time zone and locale.

Try { calendar cal = calendar.getinstance(); Static string[] months = {january, february, march, april, may, june, july, august, september, october, november, december};