How can i get the nearest next time in array using moment?

后端 未结 0 734
伪装坚强ぢ
伪装坚强ぢ 2020-12-10 14:10
// Current time in millis
const now = +moment(\'10:07\', \'HH:mm\').format(\'x\');
// List of times
const times = ["10:00", "10:18", "23:30&         


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