如果我要固定当天的一个时间,怎么弄?
本帖最后由 yogur10 于 2016-9-6 17:06 编辑宏控件,sql取得当天时间21:00整。2016-09-06 21:00:00
帮忙写mysql语句,谢谢
select date_format(now(), '%Y-%m-%d 21:00:00')
自己给自己答:L yogur10 发表于 2016-9-6 17:10 static/image/common/back.gif
select date_format(now(), '%Y-%m-%d 21:00:00')
自己给自己答
您好,感谢您的关注与支持。
页:
[1]