/** * Convert an English date time string to an application date string. * The application date time format is YYYY-MM-DD HH:MM:SS * * @param string $dateTimeStr The string that holds the date time * @return string The app formatted date time string * @throw Exception */ public static function strToAppDate($dateStr) { return substr(uDateTime::strToAppDateTime($dateStr), 0, 10); }