1、hour(string date)
說明:返回字符串'2002-02-15 09:01:00'或'09:01:00'中的小時數
2、minute(string date)
說明:返回日期或時間字符串'10:08:01'中的分鐘數
3、second(string date)
說明:返回日期或時間字符串'10:08:01'中的秒數
4、weekofyear(string date)
說明:返回2006年6月1日所對應的一年中的周數,第22周;2019年11月28日對應的周數,48周。
5、datediff(string enddate, string startdate)
說明:返回2018年9月1日到2012年2月1日之間的天數,1248天
6、date_add(string startdate, int days)
說明:給2008年5月1日加上65天后,得到日期2008年7月5日
7、date_sub(string startdate, int days)
說明:給2008年5月1日減去35天后,得到日期2008年3月27日
>>本文地址:http://m.jecan.cn/zhuanye/2020/56099.html
聲明:本站稿件版權均屬中公教育優就業所有,未經許可不得擅自轉載。
1 您的年齡
2 您的學歷
3 您更想做哪個方向的工作?