powered by
It acts similiarly to Excel's DAY function. It gives you the day from specified date.
DAY(date)
Give the date argument so it can extract day from the date.
in this example we have 13th of January. Function will return 13 as it is the day from the date. Function will always return numeric class.
# NOT RUN { DAY(DATE(2020,1,13)) # }
Run the code above in your browser using DataLab