mysql数据库:
它们分别是 date、datetime、time、timestamp和year。
date :“yyyy-mm-dd”格式表示的日期值
time :“hh:mm:ss”格式表示的时间值
datetime: “yyyy-mm-dd hh:mm:ss”格式
timestamp: “yyyymmddhhmmss”格式表示的时间戳值
year: “yyyy”格式的年份值。
date,time,datetime
猜你喜欢
转载自blog.csdn.net/SecondDream_1017/article/details/82178490
今日推荐
周排行