Quantcast
Channel: NPOI
Viewing all articles
Browse latest Browse all 1621

New Post: How to set xlsx cell format to Short Date, i.e. standard Excel date format?

$
0
0
After a few attempts it seems if I use the format string "m/d/yy" that magically translates to the Short Date format. Opening a workbook on a machine with UK regional settings displays like '31/01/2016' and on opening the Format Cells dialog the first format in the Date category list is selected.

Is this documented somewhere? Might be handy to put in the docs on the built-in formats, if indeed I'm right.

Rory

Viewing all articles
Browse latest Browse all 1621

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>