Hi guys,
I'm trying to make a function that displays the day, month, year. But I also would like to display the hours, minutes and seconds How can I do that?
function formatDate($val) { return date('d M Y', strtotime($val)); }
Thank you!!
HI Janjan,
PHP manual has all the answers for you.
Thanks, best regards, niroshan