dayofmonth()
In this article
Applies to: ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Returns an integer representing the day number of the given datetime.
dayofmonth(
date)
Learn more about syntax conventions.
Name | Type | Required | Description |
---|---|---|---|
date | datetime |
✔️ | The datetime used to extract the day number. |
An integer representing the day number of the given datetime.
dayofmonth(datetime(2015-12-14))
Output
result |
---|
14 |