0
votes

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 ?

1
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 Richter

1 Answers

0
votes

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