strtotime (PHP 4, PHP 5, PHP 7)
strtotime — Parse about any English textual datetime description into a Unix timestamp
https://www.php.net/manual/en/function.strtotime.php

The strtotime() function expects to be given a string containing an English date format and will try to parse that format into a Unix timestamp (the number of seconds since January 1 1970 00:00:00 UTC),


CURRENT CODE
strtotime("{$ubbt_lang['MONTH' . $month]} $day $year");

$month is the dropdown menu value that gets translated in to the language string, as $ubbt_lang['MONTH_'] where the dropdown menu has values of 1 through 12. each representing a month

For example,
$ubbt_lang['MONTH5'] = "May";

This parses as ENGLISH format. such as:
May 26 2019


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com