Number format

Topics: Developer Forum
Feb 4, 2016 at 1:14 PM
we work with our library and need same change in file NumberFormat.php (add constant):
const FORMAT_DATE_SLASH = 'd/m/yyyy';
and maybe will be change:
const FORMAT_DATE_DATETIME = 'd/m/yyyy h:mm';

Is it possible?
Feb 4, 2016 at 1:47 PM
Why do you need it changed?

You can set the numberformat mask to any string value that MS Excel will accept, just by calling setFormatCode() with a string rather than one of the pre-defined constants; or define your own constants in your own scripts.