Java – Take two strings and combine into a single date object

I'm trying to take two strings and make it into a Date object. I'm having trouble trying to work out what formats I need to use.

The first string is a date and is in the format of : 5th Jan

The second string is a time and is in the format of : 8:15

The main issue is what the format would be for the 5th

Read more here:

Content Attribution

This content was originally published by Ceri Turner at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: