Home » Apache POI Excel Date Cell

Apache POI Excel Date Cell

by Online Tutorials Library

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:

Apache POI Excel Date Cell

You may also like