问题
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