截取字符串。基础类使用中的小记
String year = signInDay.getSignTime().substring(0, 4); String month = signInDay.getSignTime().substring(4, 6); String day = signInDay.getSignTime().substring(6, 8) //标准时间 //substring(0, 19) 2018-12-13 18:24:19
//关于
Timestamp=Timestamp.valueOf("2018-12-13 18:24:19")