阅读背景:

从字符串转换时间时,setHours不是函数

来源:互联网 

I am trying to compare a time in string format to the current time. I've tried setting up two Date objects and calling .Now() on both of them, then on one of them adjusting the time to the time that is in string format by splitting it and parsing both the hours and minutes to integers, but I get the following error:I am trying to compare a time in string format




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: