94
Apache POI Excel Date Cell
To create date cell which display current date to the cell, we can use Apache POI’s style feature to format the cell according to the date. The setDateformat() method is used to set date format.
Lets see an example in which we are creating a cell containing current date.
Apache POI Excel Date Cell Example
Output:
Next TopicApache POI Excel Align Cell