Number format

Topics: Developer Forum
Feb 4 at 12:14 PM
Hi,
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?
Thanks
Coordinator
Feb 4 at 12: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.