Convert date ccyy-mm-dd to dd.mm.ccyy [message #5613] |
Wed, 08 June 2016 05:18 |
htManager
Messages: 435 Registered: May 2014
|
Senior Member |
|
|
If I print a pdf report I make changes in $fieldarray as mentioned in post sreen/report - concat fields in function _cm_post_fetchRow ($fieldarray). The date in $fieldarray['training_datum'] is shown in format ccyy-mm-dd. With the following code I want to change this but:
$css_array[0] = 'ddmmccyy';
$fieldarray['training_datum'] = $this->formatData($fieldarray['training_datum'], $css_array);
Is this the right way?
|
|
|