CodeIgniter Forums
date format from array - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forum-22.html)
+--- Thread: date format from array (/thread-51451.html)



date format from array - El Forum - 05-04-2012

[eluser]Cinghius[/eluser]
hello all,
this script:
Code:
<? = ($ fourElements-> custom_fields-> {'wpcf-data_dal'} [0])?>
It's a date like this: 1349049600
how can I get a date in the format dd.mm.yyyy


date format from array - El Forum - 05-04-2012

[eluser]CroNiX[/eluser]
PHP date()