2016年2月17日到今天多少天?

2025-05-09 07:04:44
推荐回答(4个)
回答1:

作为IT男给你的方式

//PHP计算两个时间差的方法

$startdate="2016-2-17 00:00:00";

$enddate="2019-11-20 00:00:00";

$date=floor((strtotime($enddate)-strtotime($startdate))/86400);

$hour=floor((strtotime($enddate)-strtotime($startdate))%86400/3600);

$minute=floor((strtotime($enddate)-strtotime($startdate))%86400/60);

$second=floor((strtotime($enddate)-strtotime($startdate))%86400%60);

$ret['date']=$date."天";

$ret['hour']=$hour."小时";

$ret['minute']=$minute."分钟";

$ret['second']=$second."秒;

       api_output($ret);

答案是:

回答2:

2016年闰年366天,2017至2019年平年365天,所以2016年2月17日至今(2019年11月20日)一共天数=366-31-16+365x3-31-10=1373天。

回答3:

时间如流水,转眼即逝,2016年到2019年,转眼三年时间过去了,一共有多少天大概是1000天。1000天的时间里,我们得到了很多,同时也失去了很多,我们每天要认真的生活,过好每一天,不要让光阴虚度,马上到2020年2月17日了,快4年的时间已经结束,我们都变老了,生活每天都在继续好好的为自己为家人努力的生活吧。

回答4:

大概有一千于天了吧