五十四、mysql数据库8:MySQL内置函数 — 日期时间函数、加密sha1

一、日期时间函数 1、获取子值 2、日期计算,使用+-运算符,数字后面的关键字为year、month、day、hour、minute、second 3、日期格式化date_format(date,format) 4、当前日期current_date() 5、当前时间current_time() 6、当前日期时间now() 7、小应用: 二、加密(sha1、hash算法用的多) 1、md5加密 注意
相关文章
相关标签/搜索