dayOfMonth
Syntax
dayOfMonth(X)
Arguments
X is a scalar/vector of type DATE, DATETIME, TIMESTAMP or NANOTIMESTAMP.
Details
Return the day of the month for each element in X.
Return value: an integer
Examples
dayOfMonth(2011.01.01);
// output
1
dayOfMonth([2012.06.12T12:30:00,2012.07.28T12:35:00]);
// output
[12,28]
Related functions: dayOfYear, quarterOfYear, monthOfYear, weekOfYear, hourOfDay, minuteOfHour, secondOfMinute, millisecond, microsecond, nanosecond