MySQL/日期:修订间差异
来自康健生活
| 第118行: | 第118行: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| | | 今天是当月的第几天 | ||
| class="td-pre-noborder" style="padding:0;" | <syntaxhighlight lang="mysql"></syntaxhighlight> || | | class="td-pre-noborder" style="padding:0;" | <syntaxhighlight lang="mysql">SELECT DAYOFMONTH( NOW( ) );</syntaxhighlight> || 19 || | ||
|- | |- | ||
| | | | ||