Date Formatter 24-Hour time with two digits

前端 未结 0 1386
别跟我提以往
别跟我提以往 2021-01-18 14:29

I am trying to check if a string contains a 24-hour time. Here is my current code:


func isMilTime(from string: String) -> Bool {
    let dateFormatter = D         


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