MySQL STR_TO_DATE Function

MySQL STR_TO_DATE Function 1

MySQL STR_TO_DATE function is a Date Function, which acts as an inverse of DATE_FORMAT function. This MySQL STR_TO_DATE function takes a string as an input and converts the string to Date or DateTime or Time values based on the format given by the user. The basic syntax of the STR_TO_DATE Function is as shown below: STR_TO_DATE(string_expression, … Read more