One for all,all for one.
2013年1月27日 星期日
php date string to timestamp
$dt = new DateTime();
echo strtotime($dt->format('Y/m/d'))
Reference :
php - convert any date string to timestamp without timezone - Stack Overflow
Converting from a string: strtotime() | Practical PHP Programming | TuxRadar Linux
沒有留言:
張貼留言
‹
›
首頁
查看網路版
沒有留言:
張貼留言