note 90570 added to function.list

From: Date: Tue, 28 Apr 2009 19:27:10 +0000
Subject: note 90570 added to function.list
Groups: php.notes 
Request: Send a blank email to php-notes+get-153944@lists.php.net to get a copy of this message
This function can be used to format a bd data and time, this a short way to do this: comment and sugests are welcome.... please, sorry my poor english. i exploded the hour because you can change the format later. <?php function formatDataHoraBd($date){ list($date, $time) = explode(" ", $data); list($year, $month, $day) = explode("-", $date); list($hour, $minute, $second) = explode(":", $horario); $show = $day."/".$month."/".$year." ".$hour.":".$minute.":".$second; return $show; } ?> ---- Server IP: 69.147.83.197 Probable Submitter: 201.0.203.119 ---- Manual Page -- http://www.php.net/manual/en/function.list.php Edit -- https://master.php.net/note/edit/90570 Del: integrated -- https://master.php.net/note/delete/90570/integrated Del: useless -- https://master.php.net/note/delete/90570/useless Del: bad code -- https://master.php.net/note/delete/90570/bad+code Del: spam -- https://master.php.net/note/delete/90570/spam Del: non-english -- https://master.php.net/note/delete/90570/non-english Del: in docs -- https://master.php.net/note/delete/90570/in+docs Del: other reasons-- https://master.php.net/note/delete/90570 Reject -- https://master.php.net/note/reject/90570 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#153944) next »