let arr = ["2022-01-11 12:00:00", "2022-06-14 12:00:00", "2022-05-14 13:00:00", "2022-04-24 11:00:00", "2022-06-14 16:00:00", "2022-05-14 15:00:00", "2022-02-14 15:00:00", "2022-03-14 11:00:00", "2022-04-14 15:00:00", "2022-01-14 11:00:00", "2022-03-14 12:00:00"] //方法1: let minValue = arr.reduce(function(total,item){ if(total == ''){return item} let time = new Date(item).getTime() if(time < new Date(total).getTime()){ return item; }else{ return total } },''); console.log('>',minValue) //方法2 - 简化方法1 console.log('>>',arr.reduce((time1,time2)=> new Date(time1)>new Date(time2)?time2:time1,arr[0]))