我在输入值中有多个日期(strtotime),并且想要使用jQuery或javascript指定日期(我的日期)之后的最近日期。我该怎么办?获取指定日期之后的最近日期
<input id="DateBox" value="1481691600,1482037200,1482642000">
我的约会:
1481778000 => (2016-12-15)
几个日期(的strtotime):
1481691600 => (2016-12-14)
1482037200 => (2016-12-18)
1482642000 => (2016-12-25)
回报:
1482037200 => (2016-12-18)
什么是“strtotime”? –
strtotime in php,:http://php.net/manual/en/function.strtotime.php –
我不知道这件事。 –