Questions tagged «dateadd»

14
加上“ x”小时数
我目前有php返回当前的日期/时间,如下所示: $now = date("Y-m-d H:m:s"); 我想做的是有一个新变量$new_timeequal $now + $hours,其中$hours小时数从24到800不等。 有什么建议?
72 php  date  datetime  dateadd  hour 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.