advanced code snippet search
sekihin on 12/29/10
php date
12/29/10 03:02pm
function dispDateFromNum($numval) { $dateval = ""; if ($numval == "") { $dateval = ""; } else { $dateval = substr($numval,0,4) . '/' . substr($numval,4,2) . '/' . substr($numval,6,2); } echo $dateval;}
Report this snippet Tweet
Comment:
You need to login to post a comment.