How can the PHP functions "strtotime" and "date" be effectively used to convert dates in non-standard formats?

When dealing with dates in non-standard formats, the PHP functions "strtotime" and "date" can be effectively used to convert these dates into a standard format. "strtotime" can parse a variety of date formats and convert them into a Unix timestamp, which can then be formatted using the "date" function into the desired output format.

$nonStandardDate = "March 15, 2022";
$standardDate = date("Y-m-d", strtotime($nonStandardDate));
echo $standardDate;