Returns day of the month from a timestamp.
timestamp
day(date("2001-12-24 23:55:12.000"))
This example returns 24.
day(date expr d)
d : expression evaluating to date
date
int
Function day evaluates a date expression and returns the day of the month.
day
Content