oracle ResultSet中获取时间的三个函数


ResultSet中获取时间可以用如下3个函数:

  getDate()得到年月日

  getTime()得到时分秒

  getTimestamp()精确到毫秒

ResultSet中获取时间可以用如下3个函数:

  getDate()得到年月日

  getTime()得到时分秒

  getTimestamp()精确到毫秒


« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3