How to convert date to numeric calendar date in Java? -


this question has answer here:

wanted convert following dates format:

mar 10th 2016 mar 1st 2016 mar 2nd 2016 mar 3rd 2016 mar 22nd 2016 

into

10-03-2016 01-03-2016 02-03-2016 03-03-2016 22-03-2016 

tried couple of things failed desired output.

try string manipulation. read input, split based on space , write logic own converter


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -