search

Home  >  Q&A  >  body text

java - 13位的时间戳可以直接用fastjson转换成时间格式吗?

阿神阿神2766 days ago330

reply all(2)I'll reply

  • ringa_lee

    ringa_lee2017-04-18 09:38:44

    can be directly converted into a Date object and then formatted using SimpleDateFormat.

    reply
    0
  • 阿神

    阿神2017-04-18 09:38:44

    new SimpleDateFormat("date format").parseDate();

    reply
    0
  • Cancelreply