• Модуль: rest
  • Путь к файлу: ~/bitrix/modules/rest/classes/general/rest_util.php
  • Класс: CRestUtil
  • Вызов: CRestUtil::unConvertDate
static function unConvertDate($iso8601)
{
	if(is_array($iso8601))
	{
		foreach($iso8601 as $key => $value)
		{
			$iso8601[$key] = self::unConvertDateTime($value);
		}

		return $iso8601;
	}
	else
	{
		$date = false;
		$timestamp = strtotime($iso8601);

		if ($timestamp !== false)
			$date = ConvertTimeStamp($timestamp, 'SHORT');

		return ($date);
	}
}