เว็บบอร์ด PHP ใช้งานจริงใน ธุรกิจ ด้วยเทคโนโลยี Ajax HTML5 Framework SQL CMS CRM ERP Hosting
Skip ไปที่เนื้อหา
โดย mindphp » 13/10/2020 6:18 pm
โดย thatsawan » 12/10/2020 6:16 pm
thatsawan เขียน: ↑22/09/2020 8:17 pm thatsawan เขียน: ↑22/09/2020 8:13 pm ถ้าต้องการหา เที่ยงคืน ของวันอื่นๆ จะทำยังไงคะ รู้เเล้ว โค้ด: เลือกทั้งหมด $date_notify_expire = strtotime(" 7 day"); $date_notify_expire = strtotime(date("d-m-Y",$date_notify_expire)."00:00:00"); echo date("d-m-Y H:i:s",$date_notify_expire);
thatsawan เขียน: ↑22/09/2020 8:13 pm ถ้าต้องการหา เที่ยงคืน ของวันอื่นๆ จะทำยังไงคะ
โค้ด: เลือกทั้งหมด
$date_notify_expire = strtotime(" 7 day"); $date_notify_expire = strtotime(date("d-m-Y",$date_notify_expire)."00:00:00"); echo date("d-m-Y H:i:s",$date_notify_expire);
โดย thatsawan » 22/09/2020 8:17 pm
โดย thatsawan » 22/09/2020 8:13 pm
โดย anawat2050 » 30/07/2020 5:50 pm
โดย thatsawan » 30/07/2020 10:17 am
30-07-2020 12:00:00
30-07-2020 12:00:00 AM
echo 'today midnight =>'; echo date('d-m-Y h:i:s A', strtotime('today midnight')); echo '<hr>'; echo 'Ymd =>'; echo date('d-m-Y h:i:s A', strtotime(date("Ymd")));
โดย thatsawan » 29/07/2020 12:44 pm
โดย mindphp » 29/07/2020 11:57 am
$timestamp = strtotime('today midnight');
$timestamp = strtotime(date("Ymd"));
โดย thatsawan » 29/07/2020 11:24 am
time();
ข้างบน