|
|
|
แนะนำฟังก์ชันแปลงจาก "20140617144618" เป็น "2014-06-17 14:46:18" |
|
|
|
|
|
|
|
Tested with PHP 5.3.19
Code (PHP)
$date = '20140617144618';
echo $newdate = date('Y-m-d H:i:s', strtotime($date));
จะได้ $newdate = 2014-06-17 14:46:18
|
|
|
|
|
Date :
2014-06-20 22:01:02 |
By :
mangkunzo |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Date :
2014-06-21 08:51:01 |
By :
mr.win |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 04
|