• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/db/oraclesqlhelper.php
  • Класс: BitrixMainDBOracleSqlHelper
  • Вызов: OracleSqlHelper::convertFromDbString
public function convertFromDbString($value, $length = null)
{
	if ($value !== null)
	{
		if ((mb_strlen($value) == 19) && preg_match("#^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$#", $value))
		{
			return new TypeDateTime($value, "Y-m-d H:i:s");
		}
	}

	return parent::convertFromDbString($value, $length);
}