How to get closest time after and closest time before from list of time

前端 未结 0 390
醉酒成梦
醉酒成梦 2021-02-14 00:09

i have list of (dbHour, dbMin) coming from DB, now i want to compare from current hour and min from list that which dbHour and dbMin is closest, Here\'s my code whe

相关标签:
回答
  • 消灭零回复
提交回复
热议问题