Home > Article > Backend Development > PHP
date("Y-m-d",strtotime($list['pubdate'])); strtotime 涓椂闂存埑鍚庣敤date() 鍑鍚庣敤date strtotime() 鍑芥暟皓嗕换曡嫳鏂囨枃链殑鏃ユ湡鏃堕棿鎻忚堪瑙f瀽涓?Unix鏃堕棿鎴炽€?
strtotime(time,now)鍙傛暟鎻忚堪
time Nau 勫畾瑕佽В鏋愮殑鏃 fell into the 棿瀛楃涓楃楃涓棿层€?
now 鐢ㄝ潵璵習chain shoulder 殑鏃 fall 棿鎴炽 € 傚鏋灭渷鐣ヨ鍙傛暟锛屽垯暟锛屽垯敤褰按墠鏃跌棿銆?
HP Date (HP Date)鍙妸鏃 fell 棿鎴虫牸寮忓寲juan coaxing 彲xuan painting €ф洿lian boundary 殑鏃ユ湡鍜屾椂闂quen€?
璇硶
timestamp鍙€夝夈€?垞篯璁ゆ槸褰按墠鐨勬棩链熷拰鏃落棿銆?
http://www.bkjia.com/PHPjc/323466.html
www.bkjia.com
真
http: //www.bkjia.com/PHPjc/323466.html