I have Excel date format of the cell as:
MM-DD-YYYY HH:MM
I need to fetch the same format irrespective of any format given in excel using apache poi
Can someone help ?
What have you tried? Please try using DataFormatter as shown in first part of Getting the cell contents. If that not fulfills your needs then please show used code in your question together with what the code produces and what you wants to get. @axel ritcher
This worked
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.