 |
|
แบบนี้ป่ะครับ
<?
global $Date;
function thai_date(){
$thaimonth = array("มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฏาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม");
$Date =date("d/".$thaimonth[date("m")-1]."/");
$Ythai=date("Y")+543;
$Date .=$Ythai;
return $Date;
}
$date =thai_date();
print"$date";
?>
|
 |
 |
 |
 |
Date :
2010-04-17 14:21:22 |
By :
naya2007 |
|
 |
 |
 |
 |
|
|
 |