Friday, October 3, 2014

ฟังก์ชั่นแสดงวันที่โดยใช้ PHP (PHP Function Get Date Time)

<?
function getdatetime(){
$datetime=date("Y-m-d H:i:s");
return $datetime;
}
echo getdatetime();
?>

No comments:

Post a Comment