MONTH(text/date,format)
Returns the month of a date. The returned value is an integer ranging from 1 (January) to 12 (December).
text/date
Represents the date from which the month is to be extracted.
Format
Value
The function allows the parameters to be empty. That is to say, you can simply use MONTH(). When the parameters are empty, the function returns the month of the current system server time.
If a parameter is NULL, the result is NULL.
MONTH()
10, corresponding to the system server time at 2020-10-23 15:36:25.
MONTH("2000/1/1")
1
MONTH("1997-04-20","yyyy-MM-dd")
4
滑鼠選中內容,快速回饋問題
滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。
不再提示
10s後關閉
Submitted successfully
Network busy