(2013-01-12, 18:32:48)D.O. Wrote: I was wondering if it is possible to add the date of publication of these codes. I tried with "pubDate" but it gives a date too long. I would like something simpler as 12/01/2013.
That long number is a unix timestamp. You have to convert it to string (with php functions date or strftime)
Try with this:
PHP Code:
echo date('d/m/Y', strtotime(returnPageField($menuitem,'pubDate')));