比如
String newtime = "2017-12-21 12:00:00"
如何能让这个字符串正常插入setdate方法里呢?
setdate(0,newtime)
比如
String newtime = "2017-12-21 12:00:00"
如何能让这个字符串正常插入setdate方法里呢?
setdate(0,newtime)
收起
把字符串转成日期啊,用SimpleDataFormat可以将字符串转成日期
报告相同问题?