Changing date and time format (ISO 8601) of excel file in core.xml

爷,独闯天下 提交于 2020-01-06 02:47:10

问题


I am trying to open a .xlsx file using Apache POI. The data format is defined as 2016-04-05T07:13:50+03:00 in /docProps/core.xml. Unfortunately Apache POI does only accept the following format: 2016-04-05T07:13:50Z.

How do I change this programmatically in Java?


回答1:


POI is able to parse Date format 2016-04-05T07:13:50+03:00 in version 3.16

so you don't have to change it programatically



来源:https://stackoverflow.com/questions/36532973/changing-date-and-time-format-iso-8601-of-excel-file-in-core-xml

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!