Parsing a date in Java?

前端 未结 7 1531
清酒与你
清酒与你 2020-12-04 03:15

I have dates in text format of the form dd-mmm-yy or d-mmm-y, where months are abbreviations in letters (for example, 4-Nov-09 or 12-Dec-05, etc...) I would like to parse it

相关标签:
7条回答
  • 2020-12-04 03:54

    Check out SimpleDateFormat

    examples

    0 讨论(0)
提交回复
热议问题