title: How to change the date format from YYMMDD to YYYY-MM-DD in java?
body: <p>I am getting the date format from the machine readable code as YYMMDD, how can i change it into YYYY-MM-DD ?
  for example am getting 871223(YYMMDD)
  i wand to change it into 1987-12-23(YYYY-MM-DD) 
  is it possible ?
  can anyone help me with some sample codes?</p>