title: How to convert string to datetime of specified format in java
body: <p>I have a string <code>10-MAR-1998 14:47</code> which I need to convert to DateTime object of a specified format. For example: (dd-MMM-yyyy HH:mm GMT) in java.</p>