|
 |
|
ช่วยทีนะครับผมเหลืออย่างสุดท้ายแล้วครับ ผมจะทำการหาค่าอ่ะครับ โดยผมมีฟอร์มทำการส่งค่าวันที่ |
|
 |
|
|
 |
 |
|
แปลงค่า timestamp กลับมาเป็นน Y-m-d ยังไงหรอครับ
|
 |
 |
 |
 |
Date :
2009-02-01 18:44:05 |
By :
ด็กฝึกหัด |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
แหะๆ ตอนนี้ทำได้หมดแล้วครับ ขอโทษด้วยนะครับที่ เปลืองเนื้อที่เว็บบอร์ด 
|
 |
 |
 |
 |
Date :
2009-02-01 19:11:11 |
By :
เด็กฝึกหัด |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ดีแล้วครับ ทำให้คนอื่นได้หาความรู้ไปด้วย ไม่เสียหายไรใช่ป่าวครับเว็บมาสะเตอร์
|
 |
 |
 |
 |
Date :
2009-03-06 17:34:18 |
By :
dekdee_nan |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
วิธีแปลงกลับก็
Code (PHP)
<?php
$date=date("Y-m-d",$timestamp);
echo $date;
?>
จะมีใครเป็นแบบผมมั้ยนะ
ใช้ edit plus พอ code นิดนึงก็กด ctrl+s
พอพิมพ์ code ในเวป ก็ดันเผลอกดเซฟ
|
 |
 |
 |
 |
Date :
2009-03-06 17:55:07 |
By :
aprodise |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|

|
Load balance : Server 00
|