powered by
It acts similiarly to Excel's DATE function. You give 3 arguments which are year,month and day and it will give you the date in a date format.
DATE(year, month, day)
Give year argument to the function.
Give month argument to the function.
Give day argument to the function.
This example returns 23rd June of 2020. Function will always return Date class.
# NOT RUN { DATE(2020,23,06) # }
Run the code above in your browser using DataLab