I have a String object that contains expired date and time like strDateTimeBoj="Oct 11 2014 5:30PM";
I need it to be extracted to separate date and time , because it needs to be checked with current date and time , whether this date is expired or not ...
I know the following code , but didn't achieved the goal
DateTimeFormatter formatter = DateTimeFormat.forPattern("dd/MM/yyyy HH:mm:ss");
DateTime dt = formatter.parseDateTime(string);
How to achieve this .....Any help would be great...