The function date() converts a string value to a date/time value.
Syntax
date(argument)
Arguments
The function takes one required string argument that a user wants to format. The function takes all data formats, including dates written in words, e.g. "January 1, 2022".