$arResult array (41)
ID => string (10) "1610716315"
$arResult['ID']
2021-01-15T13:11:55+00:00
TYPE => string (7) "channel"
$arResult['TYPE']
SCAM => string (1) "0"
$arResult['SCAM']
FAKE => string (1) "0"
$arResult['FAKE']
RESTRICTED => string (1) "0"
$arResult['RESTRICTED']
RESTRICTION_REASON => array (0)
$arResult['RESTRICTION_REASON']
PREMIUM => string (1) "0"
$arResult['PREMIUM']
VERIFIED => string (1) "0"
$arResult['VERIFIED']
PRIVATE => string (1) "0"
$arResult['PRIVATE']
BANNED => string (1) "0"
$arResult['BANNED']
BLOCKED => string (1) "0"
$arResult['BLOCKED']
MODERATION => string (1) "2"
$arResult['MODERATION']
CONFIRMED => string (1) "0"
$arResult['CONFIRMED']
SEO_INDEX => null
$arResult['SEO_INDEX']
SEO_FEED => null
$arResult['SEO_FEED']
NAME => UTF-8 string (73) "Агентство инноваций Ростовской области"
$arResult['NAME']
USERNAME => string (6) "airo61"
$arResult['USERNAME']
DESCRIPTION => UTF-8 string (343) "🔹 объясняем, как получить федеральные и региональные меры поддержки для бизн...
$arResult['DESCRIPTION']
🔹 объясняем, как получить федеральные и региональные меры поддержки для бизнеса
🔹 рассказываем о самых интересных бизнес-мероприятиях
🔹 представляем возможности предприятий региона
DESCRIPTION_LENGTH => string (3) "181"
$arResult['DESCRIPTION_LENGTH']
CREATION => Bitrix\Main\Type\DateTime#464 (2)
$arResult['CREATION']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#463 2022-04-12 11:00:13 +00:00 UTC
    • Methods (17)
    • Static methods (5)
    • Class constants (14)
    protected userTimeEnabled -> boolean true
  • public __construct($time = null, $format = null, ?DateTimeZone $timezone = null)
    new \Bitrix\Main\Type\DateTime()
    /**
     * @param string | null $time String representation of datetime.
     * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture.
     * @param \DateTimeZone | null $timezone Optional timezone object.
     *
     * @throws Main\ObjectException
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
    public toString(?Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.
    $arResult['CREATION']->toString()
    /**
     * Converts date to string, using Culture and global timezone settings.
     *
     * @param Context\Culture | null $culture Culture contains datetime format.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:86
    public getTimeZone(): \DateTimeZone Returns timezone object.
    $arResult['CREATION']->getTimeZone()
    /**
     * Returns timezone object.
     *
     * @return \DateTimeZone
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
    public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.
    $arResult['CREATION']->setTimeZone()
    /**
     * Sets timezone object.
     *
     * @param \DateTimeZone $timezone Timezone object.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:118
    public setDefaultTimeZone(): DateTime Sets default timezone.
    $arResult['CREATION']->setDefaultTimeZone()
    /**
     * Sets default timezone.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
    public setTime($hour, $minute, $second = 0, $microseconds = 0): DateTime
    $arResult['CREATION']->setTime()
    /**
     * @param int $hour Hour value.
     * @param int $minute Minute value.
     * @param int $second Second value.
     * @param int $microseconds Microseconds value.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:144
    public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.
    $arResult['CREATION']->toUserTime()
    /**
     * Changes time from server time to user time using global timezone settings.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:155
    public isUserTimeEnabled(): bool
    $arResult['CREATION']->isUserTimeEnabled()
    /**
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
    public disableUserTime(): $this
    $arResult['CREATION']->disableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
    public enableUserTime(): $this
    $arResult['CREATION']->enableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
    protected parse($format, $time): array|bool
    /**
     * @param string $format
     * @param string $time
     * @return array|bool
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:53
    public format($format): string Formats date value to string.
    $arResult['CREATION']->format()
    /**
     * Formats date value to string.
     *
     * @param string $format PHP date format.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:110
    public __clone(): void Produces the copy of the object.
    clone $arResult['CREATION']
    /**
     * Produces the copy of the object.
     *
     * @return void
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:120
    public add($interval): $this Performs dates arithmetic.
    $arResult['CREATION']->add()
    /**
     * Performs dates arithmetic.
     *
     * Each duration period is represented by an integer value followed by a period
     * designator. If the duration contains time elements, that portion of the
     * specification is preceded by the letter T.
     * Period Designators: Y - years, M - months, D - days, W - weeks, H - hours,
     * M - minutes, S - seconds.
     * Examples: two days - 2D, two seconds - T2S, six years and five minutes - 6YT5M.
     * The unit types must be entered from the largest scale unit on the left to the
     * smallest scale unit on the right.
     * Use first "-" char for negative periods.
     * OR
     * Relative period.
     * Examples: "+5 weeks", "12 day", "-7 weekdays", '3 months - 5 days'
     *
     * @param string $interval Time interval to add.
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:145
    public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.
    $arResult['CREATION']->setDate()
    /**
     * Sets the current date of the DateTime object to a different date.
     * @param int $year
     * @param int $month
     * @param int $day
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:169
    public getTimestamp(): int Returns Unix timestamp from date.
    $arResult['CREATION']->getTimestamp()
    /**
     * Returns Unix timestamp from date.
     *
     * @return int
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:218
    public getDiff(Bitrix\Main\Type\Date $time): \DateInterval Returns difference between dates.
    $arResult['CREATION']->getDiff()
    /**
     * Returns difference between dates.
     *
     * @param Date $time
     * @return \DateInterval
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:229
    public __toString(): string Converts a date to the string with default culture format setting.
    (string) $arResult['CREATION']
    /**
     * Converts a date to the string with default culture format setting.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:252
    private Bitrix\Main\Type\Date::tryToCreateIntervalByDesignators($interval)
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:176
  • public static Bitrix\Main\Type\DateTime::secondsToOffset($seconds, $delimiter = '')
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
    public static Bitrix\Main\Type\DateTime::createFromUserTime($timeString): DateTime Creates DateTime object from local user time using global timezone settings a...
    /**
     * Creates DateTime object from local user time using global timezone settings and default culture.
     *
     * @param string $timeString Full or short formatted time.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:180
    protected static Bitrix\Main\Type\DateTime::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns long (including time) date culture format.
    /**
     * Returns long (including time) date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:216
    public static Bitrix\Main\Type\DateTime::createFromPhp(DateTime $datetime): static Creates DateTime object from PHP \DateTime object.
    /**
     * Creates DateTime object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:232
    public static Bitrix\Main\Type\DateTime::createFromTimestamp($timestamp): static Creates DateTime object from Unix timestamp.
    /**
     * Creates DateTime object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:246
    public static Bitrix\Main\Type\DateTime::tryParse($timeString, $format = null): DateTime|null Creates DateTime object from string. NULL will be returned on failure.
    /**
     * Creates DateTime object from string.
     * NULL will be returned on failure.
     * @param string $timeString Full formatted time.
     * @param string $format PHP datetime format. If not specified, the format is got from the current culture.
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:260
    public static Bitrix\Main\Type\Date::getFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns a date format from the culture in the php format.
    /**
     * Returns a date format from the culture in the php format.
     *
     * @param Context\Culture | null $culture Optional culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:264
    public static Bitrix\Main\Type\Date::convertFormatToPhp($format): string Converts date format from culture to php format.
    /**
     * Converts date format from culture to php format.
     *
     * @param string $format Format string.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:309
    public static Bitrix\Main\Type\Date::isCorrect($time, $format = null): bool Checks the string for correct date (by trying to create Date object).
    /**
     * Checks the string for correct date (by trying to create Date object).
     *
     * @param string $time String representation of date.
     * @param string $format PHP date format. If not specified, the format is got from the current culture.
     *
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:359
    public static Bitrix\Main\Type\Date::createFromText($text): DateTime|null Creates Date object from Text (return array of result object) Examples: "end ...
    /**
     * Creates Date object from Text (return array of result object)
     * Examples: "end of next week", "tomorrow morning", "friday 25.10"
     *
     * @param string $text
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:417
    protected static Bitrix\Main\Type\Date::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns short date culture format.
    /**
     * Returns short date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:293
    public static Bitrix\Main\Type\Date::createFromPhp(DateTime $datetime): static Creates Date object from PHP \DateTime object.
    /**
     * Creates Date object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:387
    public static Bitrix\Main\Type\Date::createFromTimestamp($timestamp): static Creates Date object from Unix timestamp.
    /**
     * Creates Date object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:402
  • CREATION string (19) "12.04.2022 14:00:13"
    (string) $arResult['CREATION']
UPDATE_AT => Bitrix\Main\Type\DateTime#462 (2)
$arResult['UPDATE_AT']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#461 2026-05-21 11:48:32 +00:00 UTC
    • Methods (17)
    • Static methods (5)
    • Class constants (14)
    protected userTimeEnabled -> boolean true
  • public __construct($time = null, $format = null, ?DateTimeZone $timezone = null)
    new \Bitrix\Main\Type\DateTime()
    /**
     * @param string | null $time String representation of datetime.
     * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture.
     * @param \DateTimeZone | null $timezone Optional timezone object.
     *
     * @throws Main\ObjectException
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
    public toString(?Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.
    $arResult['UPDATE_AT']->toString()
    /**
     * Converts date to string, using Culture and global timezone settings.
     *
     * @param Context\Culture | null $culture Culture contains datetime format.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:86
    public getTimeZone(): \DateTimeZone Returns timezone object.
    $arResult['UPDATE_AT']->getTimeZone()
    /**
     * Returns timezone object.
     *
     * @return \DateTimeZone
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
    public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.
    $arResult['UPDATE_AT']->setTimeZone()
    /**
     * Sets timezone object.
     *
     * @param \DateTimeZone $timezone Timezone object.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:118
    public setDefaultTimeZone(): DateTime Sets default timezone.
    $arResult['UPDATE_AT']->setDefaultTimeZone()
    /**
     * Sets default timezone.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
    public setTime($hour, $minute, $second = 0, $microseconds = 0): DateTime
    $arResult['UPDATE_AT']->setTime()
    /**
     * @param int $hour Hour value.
     * @param int $minute Minute value.
     * @param int $second Second value.
     * @param int $microseconds Microseconds value.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:144
    public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.
    $arResult['UPDATE_AT']->toUserTime()
    /**
     * Changes time from server time to user time using global timezone settings.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:155
    public isUserTimeEnabled(): bool
    $arResult['UPDATE_AT']->isUserTimeEnabled()
    /**
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
    public disableUserTime(): $this
    $arResult['UPDATE_AT']->disableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
    public enableUserTime(): $this
    $arResult['UPDATE_AT']->enableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
    protected parse($format, $time): array|bool
    /**
     * @param string $format
     * @param string $time
     * @return array|bool
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:53
    public format($format): string Formats date value to string.
    $arResult['UPDATE_AT']->format()
    /**
     * Formats date value to string.
     *
     * @param string $format PHP date format.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:110
    public __clone(): void Produces the copy of the object.
    clone $arResult['UPDATE_AT']
    /**
     * Produces the copy of the object.
     *
     * @return void
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:120
    public add($interval): $this Performs dates arithmetic.
    $arResult['UPDATE_AT']->add()
    /**
     * Performs dates arithmetic.
     *
     * Each duration period is represented by an integer value followed by a period
     * designator. If the duration contains time elements, that portion of the
     * specification is preceded by the letter T.
     * Period Designators: Y - years, M - months, D - days, W - weeks, H - hours,
     * M - minutes, S - seconds.
     * Examples: two days - 2D, two seconds - T2S, six years and five minutes - 6YT5M.
     * The unit types must be entered from the largest scale unit on the left to the
     * smallest scale unit on the right.
     * Use first "-" char for negative periods.
     * OR
     * Relative period.
     * Examples: "+5 weeks", "12 day", "-7 weekdays", '3 months - 5 days'
     *
     * @param string $interval Time interval to add.
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:145
    public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.
    $arResult['UPDATE_AT']->setDate()
    /**
     * Sets the current date of the DateTime object to a different date.
     * @param int $year
     * @param int $month
     * @param int $day
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:169
    public getTimestamp(): int Returns Unix timestamp from date.
    $arResult['UPDATE_AT']->getTimestamp()
    /**
     * Returns Unix timestamp from date.
     *
     * @return int
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:218
    public getDiff(Bitrix\Main\Type\Date $time): \DateInterval Returns difference between dates.
    $arResult['UPDATE_AT']->getDiff()
    /**
     * Returns difference between dates.
     *
     * @param Date $time
     * @return \DateInterval
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:229
    public __toString(): string Converts a date to the string with default culture format setting.
    (string) $arResult['UPDATE_AT']
    /**
     * Converts a date to the string with default culture format setting.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:252
    private Bitrix\Main\Type\Date::tryToCreateIntervalByDesignators($interval)
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:176
  • public static Bitrix\Main\Type\DateTime::secondsToOffset($seconds, $delimiter = '')
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
    public static Bitrix\Main\Type\DateTime::createFromUserTime($timeString): DateTime Creates DateTime object from local user time using global timezone settings a...
    /**
     * Creates DateTime object from local user time using global timezone settings and default culture.
     *
     * @param string $timeString Full or short formatted time.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:180
    protected static Bitrix\Main\Type\DateTime::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns long (including time) date culture format.
    /**
     * Returns long (including time) date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:216
    public static Bitrix\Main\Type\DateTime::createFromPhp(DateTime $datetime): static Creates DateTime object from PHP \DateTime object.
    /**
     * Creates DateTime object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:232
    public static Bitrix\Main\Type\DateTime::createFromTimestamp($timestamp): static Creates DateTime object from Unix timestamp.
    /**
     * Creates DateTime object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:246
    public static Bitrix\Main\Type\DateTime::tryParse($timeString, $format = null): DateTime|null Creates DateTime object from string. NULL will be returned on failure.
    /**
     * Creates DateTime object from string.
     * NULL will be returned on failure.
     * @param string $timeString Full formatted time.
     * @param string $format PHP datetime format. If not specified, the format is got from the current culture.
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:260
    public static Bitrix\Main\Type\Date::getFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns a date format from the culture in the php format.
    /**
     * Returns a date format from the culture in the php format.
     *
     * @param Context\Culture | null $culture Optional culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:264
    public static Bitrix\Main\Type\Date::convertFormatToPhp($format): string Converts date format from culture to php format.
    /**
     * Converts date format from culture to php format.
     *
     * @param string $format Format string.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:309
    public static Bitrix\Main\Type\Date::isCorrect($time, $format = null): bool Checks the string for correct date (by trying to create Date object).
    /**
     * Checks the string for correct date (by trying to create Date object).
     *
     * @param string $time String representation of date.
     * @param string $format PHP date format. If not specified, the format is got from the current culture.
     *
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:359
    public static Bitrix\Main\Type\Date::createFromText($text): DateTime|null Creates Date object from Text (return array of result object) Examples: "end ...
    /**
     * Creates Date object from Text (return array of result object)
     * Examples: "end of next week", "tomorrow morning", "friday 25.10"
     *
     * @param string $text
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:417
    protected static Bitrix\Main\Type\Date::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns short date culture format.
    /**
     * Returns short date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:293
    public static Bitrix\Main\Type\Date::createFromPhp(DateTime $datetime): static Creates Date object from PHP \DateTime object.
    /**
     * Creates Date object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:387
    public static Bitrix\Main\Type\Date::createFromTimestamp($timestamp): static Creates Date object from Unix timestamp.
    /**
     * Creates Date object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:402
  • UPDATE_AT string (19) "21.05.2026 14:48:32"
    (string) $arResult['UPDATE_AT']
CHANNEL_ID => string (10) "1610716315"
$arResult['CHANNEL_ID']
2021-01-15T13:11:55+00:00
CHANNEL_CATEGORY_ID => string (1) "8"
$arResult['CHANNEL_CATEGORY_ID']
CHANNEL_MEGAGROUP => string (1) "0"
$arResult['CHANNEL_MEGAGROUP']
CHANNEL_GIGAGROUP => string (1) "0"
$arResult['CHANNEL_GIGAGROUP']
CHANNEL_SUBSCRIBERS => string (3) "748"
$arResult['CHANNEL_SUBSCRIBERS']
CHANNEL_CHAT => string (10) "1795942162"
$arResult['CHANNEL_CHAT']
2026-11-29T08:49:22+00:00
CHANNEL_PTS => string (4) "4367"
$arResult['CHANNEL_PTS']
CHANNEL_PTS_DATE => Bitrix\Main\Type\DateTime#460 (2)
$arResult['CHANNEL_PTS_DATE']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#459 2025-10-10 03:39:11 +00:00 UTC
    • Methods (17)
    • Static methods (5)
    • Class constants (14)
    protected userTimeEnabled -> boolean true
  • public __construct($time = null, $format = null, ?DateTimeZone $timezone = null)
    new \Bitrix\Main\Type\DateTime()
    /**
     * @param string | null $time String representation of datetime.
     * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture.
     * @param \DateTimeZone | null $timezone Optional timezone object.
     *
     * @throws Main\ObjectException
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
    public toString(?Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.
    $arResult['CHANNEL_PTS_DATE']->toString()
    /**
     * Converts date to string, using Culture and global timezone settings.
     *
     * @param Context\Culture | null $culture Culture contains datetime format.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:86
    public getTimeZone(): \DateTimeZone Returns timezone object.
    $arResult['CHANNEL_PTS_DATE']->getTimeZone()
    /**
     * Returns timezone object.
     *
     * @return \DateTimeZone
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
    public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.
    $arResult['CHANNEL_PTS_DATE']->setTimeZone()
    /**
     * Sets timezone object.
     *
     * @param \DateTimeZone $timezone Timezone object.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:118
    public setDefaultTimeZone(): DateTime Sets default timezone.
    $arResult['CHANNEL_PTS_DATE']->setDefaultTimeZone()
    /**
     * Sets default timezone.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
    public setTime($hour, $minute, $second = 0, $microseconds = 0): DateTime
    $arResult['CHANNEL_PTS_DATE']->setTime()
    /**
     * @param int $hour Hour value.
     * @param int $minute Minute value.
     * @param int $second Second value.
     * @param int $microseconds Microseconds value.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:144
    public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.
    $arResult['CHANNEL_PTS_DATE']->toUserTime()
    /**
     * Changes time from server time to user time using global timezone settings.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:155
    public isUserTimeEnabled(): bool
    $arResult['CHANNEL_PTS_DATE']->isUserTimeEnabled()
    /**
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
    public disableUserTime(): $this
    $arResult['CHANNEL_PTS_DATE']->disableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
    public enableUserTime(): $this
    $arResult['CHANNEL_PTS_DATE']->enableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
    protected parse($format, $time): array|bool
    /**
     * @param string $format
     * @param string $time
     * @return array|bool
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:53
    public format($format): string Formats date value to string.
    $arResult['CHANNEL_PTS_DATE']->format()
    /**
     * Formats date value to string.
     *
     * @param string $format PHP date format.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:110
    public __clone(): void Produces the copy of the object.
    clone $arResult['CHANNEL_PTS_DATE']
    /**
     * Produces the copy of the object.
     *
     * @return void
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:120
    public add($interval): $this Performs dates arithmetic.
    $arResult['CHANNEL_PTS_DATE']->add()
    /**
     * Performs dates arithmetic.
     *
     * Each duration period is represented by an integer value followed by a period
     * designator. If the duration contains time elements, that portion of the
     * specification is preceded by the letter T.
     * Period Designators: Y - years, M - months, D - days, W - weeks, H - hours,
     * M - minutes, S - seconds.
     * Examples: two days - 2D, two seconds - T2S, six years and five minutes - 6YT5M.
     * The unit types must be entered from the largest scale unit on the left to the
     * smallest scale unit on the right.
     * Use first "-" char for negative periods.
     * OR
     * Relative period.
     * Examples: "+5 weeks", "12 day", "-7 weekdays", '3 months - 5 days'
     *
     * @param string $interval Time interval to add.
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:145
    public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.
    $arResult['CHANNEL_PTS_DATE']->setDate()
    /**
     * Sets the current date of the DateTime object to a different date.
     * @param int $year
     * @param int $month
     * @param int $day
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:169
    public getTimestamp(): int Returns Unix timestamp from date.
    $arResult['CHANNEL_PTS_DATE']->getTimestamp()
    /**
     * Returns Unix timestamp from date.
     *
     * @return int
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:218
    public getDiff(Bitrix\Main\Type\Date $time): \DateInterval Returns difference between dates.
    $arResult['CHANNEL_PTS_DATE']->getDiff()
    /**
     * Returns difference between dates.
     *
     * @param Date $time
     * @return \DateInterval
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:229
    public __toString(): string Converts a date to the string with default culture format setting.
    (string) $arResult['CHANNEL_PTS_DATE']
    /**
     * Converts a date to the string with default culture format setting.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:252
    private Bitrix\Main\Type\Date::tryToCreateIntervalByDesignators($interval)
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:176
  • public static Bitrix\Main\Type\DateTime::secondsToOffset($seconds, $delimiter = '')
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
    public static Bitrix\Main\Type\DateTime::createFromUserTime($timeString): DateTime Creates DateTime object from local user time using global timezone settings a...
    /**
     * Creates DateTime object from local user time using global timezone settings and default culture.
     *
     * @param string $timeString Full or short formatted time.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:180
    protected static Bitrix\Main\Type\DateTime::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns long (including time) date culture format.
    /**
     * Returns long (including time) date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:216
    public static Bitrix\Main\Type\DateTime::createFromPhp(DateTime $datetime): static Creates DateTime object from PHP \DateTime object.
    /**
     * Creates DateTime object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:232
    public static Bitrix\Main\Type\DateTime::createFromTimestamp($timestamp): static Creates DateTime object from Unix timestamp.
    /**
     * Creates DateTime object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:246
    public static Bitrix\Main\Type\DateTime::tryParse($timeString, $format = null): DateTime|null Creates DateTime object from string. NULL will be returned on failure.
    /**
     * Creates DateTime object from string.
     * NULL will be returned on failure.
     * @param string $timeString Full formatted time.
     * @param string $format PHP datetime format. If not specified, the format is got from the current culture.
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:260
    public static Bitrix\Main\Type\Date::getFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns a date format from the culture in the php format.
    /**
     * Returns a date format from the culture in the php format.
     *
     * @param Context\Culture | null $culture Optional culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:264
    public static Bitrix\Main\Type\Date::convertFormatToPhp($format): string Converts date format from culture to php format.
    /**
     * Converts date format from culture to php format.
     *
     * @param string $format Format string.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:309
    public static Bitrix\Main\Type\Date::isCorrect($time, $format = null): bool Checks the string for correct date (by trying to create Date object).
    /**
     * Checks the string for correct date (by trying to create Date object).
     *
     * @param string $time String representation of date.
     * @param string $format PHP date format. If not specified, the format is got from the current culture.
     *
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:359
    public static Bitrix\Main\Type\Date::createFromText($text): DateTime|null Creates Date object from Text (return array of result object) Examples: "end ...
    /**
     * Creates Date object from Text (return array of result object)
     * Examples: "end of next week", "tomorrow morning", "friday 25.10"
     *
     * @param string $text
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:417
    protected static Bitrix\Main\Type\Date::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns short date culture format.
    /**
     * Returns short date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:293
    public static Bitrix\Main\Type\Date::createFromPhp(DateTime $datetime): static Creates Date object from PHP \DateTime object.
    /**
     * Creates Date object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:387
    public static Bitrix\Main\Type\Date::createFromTimestamp($timestamp): static Creates Date object from Unix timestamp.
    /**
     * Creates Date object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:402
  • CHANNEL_PTS_DATE string (19) "10.10.2025 06:39:11"
    (string) $arResult['CHANNEL_PTS_DATE']
CHANNEL_UPDATE_AT => Bitrix\Main\Type\DateTime#458 (2)
$arResult['CHANNEL_UPDATE_AT']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#457 2026-05-21 11:48:32 +00:00 UTC
    • Methods (17)
    • Static methods (5)
    • Class constants (14)
    protected userTimeEnabled -> boolean true
  • public __construct($time = null, $format = null, ?DateTimeZone $timezone = null)
    new \Bitrix\Main\Type\DateTime()
    /**
     * @param string | null $time String representation of datetime.
     * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture.
     * @param \DateTimeZone | null $timezone Optional timezone object.
     *
     * @throws Main\ObjectException
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
    public toString(?Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.
    $arResult['CHANNEL_UPDATE_AT']->toString()
    /**
     * Converts date to string, using Culture and global timezone settings.
     *
     * @param Context\Culture | null $culture Culture contains datetime format.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:86
    public getTimeZone(): \DateTimeZone Returns timezone object.
    $arResult['CHANNEL_UPDATE_AT']->getTimeZone()
    /**
     * Returns timezone object.
     *
     * @return \DateTimeZone
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
    public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.
    $arResult['CHANNEL_UPDATE_AT']->setTimeZone()
    /**
     * Sets timezone object.
     *
     * @param \DateTimeZone $timezone Timezone object.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:118
    public setDefaultTimeZone(): DateTime Sets default timezone.
    $arResult['CHANNEL_UPDATE_AT']->setDefaultTimeZone()
    /**
     * Sets default timezone.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
    public setTime($hour, $minute, $second = 0, $microseconds = 0): DateTime
    $arResult['CHANNEL_UPDATE_AT']->setTime()
    /**
     * @param int $hour Hour value.
     * @param int $minute Minute value.
     * @param int $second Second value.
     * @param int $microseconds Microseconds value.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:144
    public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.
    $arResult['CHANNEL_UPDATE_AT']->toUserTime()
    /**
     * Changes time from server time to user time using global timezone settings.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:155
    public isUserTimeEnabled(): bool
    $arResult['CHANNEL_UPDATE_AT']->isUserTimeEnabled()
    /**
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
    public disableUserTime(): $this
    $arResult['CHANNEL_UPDATE_AT']->disableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
    public enableUserTime(): $this
    $arResult['CHANNEL_UPDATE_AT']->enableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
    protected parse($format, $time): array|bool
    /**
     * @param string $format
     * @param string $time
     * @return array|bool
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:53
    public format($format): string Formats date value to string.
    $arResult['CHANNEL_UPDATE_AT']->format()
    /**
     * Formats date value to string.
     *
     * @param string $format PHP date format.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:110
    public __clone(): void Produces the copy of the object.
    clone $arResult['CHANNEL_UPDATE_AT']
    /**
     * Produces the copy of the object.
     *
     * @return void
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:120
    public add($interval): $this Performs dates arithmetic.
    $arResult['CHANNEL_UPDATE_AT']->add()
    /**
     * Performs dates arithmetic.
     *
     * Each duration period is represented by an integer value followed by a period
     * designator. If the duration contains time elements, that portion of the
     * specification is preceded by the letter T.
     * Period Designators: Y - years, M - months, D - days, W - weeks, H - hours,
     * M - minutes, S - seconds.
     * Examples: two days - 2D, two seconds - T2S, six years and five minutes - 6YT5M.
     * The unit types must be entered from the largest scale unit on the left to the
     * smallest scale unit on the right.
     * Use first "-" char for negative periods.
     * OR
     * Relative period.
     * Examples: "+5 weeks", "12 day", "-7 weekdays", '3 months - 5 days'
     *
     * @param string $interval Time interval to add.
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:145
    public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.
    $arResult['CHANNEL_UPDATE_AT']->setDate()
    /**
     * Sets the current date of the DateTime object to a different date.
     * @param int $year
     * @param int $month
     * @param int $day
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:169
    public getTimestamp(): int Returns Unix timestamp from date.
    $arResult['CHANNEL_UPDATE_AT']->getTimestamp()
    /**
     * Returns Unix timestamp from date.
     *
     * @return int
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:218
    public getDiff(Bitrix\Main\Type\Date $time): \DateInterval Returns difference between dates.
    $arResult['CHANNEL_UPDATE_AT']->getDiff()
    /**
     * Returns difference between dates.
     *
     * @param Date $time
     * @return \DateInterval
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:229
    public __toString(): string Converts a date to the string with default culture format setting.
    (string) $arResult['CHANNEL_UPDATE_AT']
    /**
     * Converts a date to the string with default culture format setting.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:252
    private Bitrix\Main\Type\Date::tryToCreateIntervalByDesignators($interval)
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:176
  • public static Bitrix\Main\Type\DateTime::secondsToOffset($seconds, $delimiter = '')
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
    public static Bitrix\Main\Type\DateTime::createFromUserTime($timeString): DateTime Creates DateTime object from local user time using global timezone settings a...
    /**
     * Creates DateTime object from local user time using global timezone settings and default culture.
     *
     * @param string $timeString Full or short formatted time.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:180
    protected static Bitrix\Main\Type\DateTime::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns long (including time) date culture format.
    /**
     * Returns long (including time) date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:216
    public static Bitrix\Main\Type\DateTime::createFromPhp(DateTime $datetime): static Creates DateTime object from PHP \DateTime object.
    /**
     * Creates DateTime object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:232
    public static Bitrix\Main\Type\DateTime::createFromTimestamp($timestamp): static Creates DateTime object from Unix timestamp.
    /**
     * Creates DateTime object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:246
    public static Bitrix\Main\Type\DateTime::tryParse($timeString, $format = null): DateTime|null Creates DateTime object from string. NULL will be returned on failure.
    /**
     * Creates DateTime object from string.
     * NULL will be returned on failure.
     * @param string $timeString Full formatted time.
     * @param string $format PHP datetime format. If not specified, the format is got from the current culture.
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:260
    public static Bitrix\Main\Type\Date::getFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns a date format from the culture in the php format.
    /**
     * Returns a date format from the culture in the php format.
     *
     * @param Context\Culture | null $culture Optional culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:264
    public static Bitrix\Main\Type\Date::convertFormatToPhp($format): string Converts date format from culture to php format.
    /**
     * Converts date format from culture to php format.
     *
     * @param string $format Format string.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:309
    public static Bitrix\Main\Type\Date::isCorrect($time, $format = null): bool Checks the string for correct date (by trying to create Date object).
    /**
     * Checks the string for correct date (by trying to create Date object).
     *
     * @param string $time String representation of date.
     * @param string $format PHP date format. If not specified, the format is got from the current culture.
     *
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:359
    public static Bitrix\Main\Type\Date::createFromText($text): DateTime|null Creates Date object from Text (return array of result object) Examples: "end ...
    /**
     * Creates Date object from Text (return array of result object)
     * Examples: "end of next week", "tomorrow morning", "friday 25.10"
     *
     * @param string $text
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:417
    protected static Bitrix\Main\Type\Date::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns short date culture format.
    /**
     * Returns short date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:293
    public static Bitrix\Main\Type\Date::createFromPhp(DateTime $datetime): static Creates Date object from PHP \DateTime object.
    /**
     * Creates Date object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:387
    public static Bitrix\Main\Type\Date::createFromTimestamp($timestamp): static Creates Date object from Unix timestamp.
    /**
     * Creates Date object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:402
  • CHANNEL_UPDATE_AT string (19) "21.05.2026 14:48:32"
    (string) $arResult['CHANNEL_UPDATE_AT']
REGISTRY_ID => null
$arResult['REGISTRY_ID']
REGISTRY_STATUS => null
$arResult['REGISTRY_STATUS']
REGISTRY_TITLE => null
$arResult['REGISTRY_TITLE']
REGISTRY_LINK => null
$arResult['REGISTRY_LINK']
REGISTRY_REGISTRY_ID => null
$arResult['REGISTRY_REGISTRY_ID']
REGISTRY_REGISTRY_URL => null
$arResult['REGISTRY_REGISTRY_URL']
REGISTRY_UPDATE_AT => null
$arResult['REGISTRY_UPDATE_AT']
PHOTO => array (8)
$arResult['PHOTO']
ID => string (10) "1610716315"
$arResult['PHOTO']['ID']
2021-01-15T13:11:55+00:00
PHOTO_ID => string (19) "5314250885061873651"
$arResult['PHOTO']['PHOTO_ID']
TYPE => string (10) "image/jpeg"
$arResult['PHOTO']['TYPE']
SIZE => string (5) "28247"
$arResult['PHOTO']['SIZE']
WIDTH => string (3) "640"
$arResult['PHOTO']['WIDTH']
HEIGHT => string (3) "640"
$arResult['PHOTO']['HEIGHT']
PATH => string (56) "/upload/tg/user_photo/1610716315_5314250885061873651.jpg"
$arResult['PHOTO']['PATH']
UPDATE_AT => Bitrix\Main\Type\DateTime#454 (2)
$arResult['PHOTO']['UPDATE_AT']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#455 2026-03-27 04:23:25 +00:00 UTC
    • Methods (17)
    • Static methods (5)
    • Class constants (14)
    protected userTimeEnabled -> boolean true
  • public __construct($time = null, $format = null, ?DateTimeZone $timezone = null)
    new \Bitrix\Main\Type\DateTime()
    /**
     * @param string | null $time String representation of datetime.
     * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture.
     * @param \DateTimeZone | null $timezone Optional timezone object.
     *
     * @throws Main\ObjectException
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
    public toString(?Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.
    $arResult['PHOTO']['UPDATE_AT']->toString()
    /**
     * Converts date to string, using Culture and global timezone settings.
     *
     * @param Context\Culture | null $culture Culture contains datetime format.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:86
    public getTimeZone(): \DateTimeZone Returns timezone object.
    $arResult['PHOTO']['UPDATE_AT']->getTimeZone()
    /**
     * Returns timezone object.
     *
     * @return \DateTimeZone
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
    public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.
    $arResult['PHOTO']['UPDATE_AT']->setTimeZone()
    /**
     * Sets timezone object.
     *
     * @param \DateTimeZone $timezone Timezone object.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:118
    public setDefaultTimeZone(): DateTime Sets default timezone.
    $arResult['PHOTO']['UPDATE_AT']->setDefaultTimeZone()
    /**
     * Sets default timezone.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
    public setTime($hour, $minute, $second = 0, $microseconds = 0): DateTime
    $arResult['PHOTO']['UPDATE_AT']->setTime()
    /**
     * @param int $hour Hour value.
     * @param int $minute Minute value.
     * @param int $second Second value.
     * @param int $microseconds Microseconds value.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:144
    public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.
    $arResult['PHOTO']['UPDATE_AT']->toUserTime()
    /**
     * Changes time from server time to user time using global timezone settings.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:155
    public isUserTimeEnabled(): bool
    $arResult['PHOTO']['UPDATE_AT']->isUserTimeEnabled()
    /**
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
    public disableUserTime(): $this
    $arResult['PHOTO']['UPDATE_AT']->disableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
    public enableUserTime(): $this
    $arResult['PHOTO']['UPDATE_AT']->enableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
    protected parse($format, $time): array|bool
    /**
     * @param string $format
     * @param string $time
     * @return array|bool
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:53
    public format($format): string Formats date value to string.
    $arResult['PHOTO']['UPDATE_AT']->format()
    /**
     * Formats date value to string.
     *
     * @param string $format PHP date format.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:110
    public __clone(): void Produces the copy of the object.
    clone $arResult['PHOTO']['UPDATE_AT']
    /**
     * Produces the copy of the object.
     *
     * @return void
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:120
    public add($interval): $this Performs dates arithmetic.
    $arResult['PHOTO']['UPDATE_AT']->add()
    /**
     * Performs dates arithmetic.
     *
     * Each duration period is represented by an integer value followed by a period
     * designator. If the duration contains time elements, that portion of the
     * specification is preceded by the letter T.
     * Period Designators: Y - years, M - months, D - days, W - weeks, H - hours,
     * M - minutes, S - seconds.
     * Examples: two days - 2D, two seconds - T2S, six years and five minutes - 6YT5M.
     * The unit types must be entered from the largest scale unit on the left to the
     * smallest scale unit on the right.
     * Use first "-" char for negative periods.
     * OR
     * Relative period.
     * Examples: "+5 weeks", "12 day", "-7 weekdays", '3 months - 5 days'
     *
     * @param string $interval Time interval to add.
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:145
    public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.
    $arResult['PHOTO']['UPDATE_AT']->setDate()
    /**
     * Sets the current date of the DateTime object to a different date.
     * @param int $year
     * @param int $month
     * @param int $day
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:169
    public getTimestamp(): int Returns Unix timestamp from date.
    $arResult['PHOTO']['UPDATE_AT']->getTimestamp()
    /**
     * Returns Unix timestamp from date.
     *
     * @return int
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:218
    public getDiff(Bitrix\Main\Type\Date $time): \DateInterval Returns difference between dates.
    $arResult['PHOTO']['UPDATE_AT']->getDiff()
    /**
     * Returns difference between dates.
     *
     * @param Date $time
     * @return \DateInterval
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:229
    public __toString(): string Converts a date to the string with default culture format setting.
    (string) $arResult['PHOTO']['UPDATE_AT']
    /**
     * Converts a date to the string with default culture format setting.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:252
    private Bitrix\Main\Type\Date::tryToCreateIntervalByDesignators($interval)
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:176
  • public static Bitrix\Main\Type\DateTime::secondsToOffset($seconds, $delimiter = '')
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
    public static Bitrix\Main\Type\DateTime::createFromUserTime($timeString): DateTime Creates DateTime object from local user time using global timezone settings a...
    /**
     * Creates DateTime object from local user time using global timezone settings and default culture.
     *
     * @param string $timeString Full or short formatted time.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:180
    protected static Bitrix\Main\Type\DateTime::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns long (including time) date culture format.
    /**
     * Returns long (including time) date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:216
    public static Bitrix\Main\Type\DateTime::createFromPhp(DateTime $datetime): static Creates DateTime object from PHP \DateTime object.
    /**
     * Creates DateTime object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:232
    public static Bitrix\Main\Type\DateTime::createFromTimestamp($timestamp): static Creates DateTime object from Unix timestamp.
    /**
     * Creates DateTime object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:246
    public static Bitrix\Main\Type\DateTime::tryParse($timeString, $format = null): DateTime|null Creates DateTime object from string. NULL will be returned on failure.
    /**
     * Creates DateTime object from string.
     * NULL will be returned on failure.
     * @param string $timeString Full formatted time.
     * @param string $format PHP datetime format. If not specified, the format is got from the current culture.
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:260
    public static Bitrix\Main\Type\Date::getFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns a date format from the culture in the php format.
    /**
     * Returns a date format from the culture in the php format.
     *
     * @param Context\Culture | null $culture Optional culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:264
    public static Bitrix\Main\Type\Date::convertFormatToPhp($format): string Converts date format from culture to php format.
    /**
     * Converts date format from culture to php format.
     *
     * @param string $format Format string.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:309
    public static Bitrix\Main\Type\Date::isCorrect($time, $format = null): bool Checks the string for correct date (by trying to create Date object).
    /**
     * Checks the string for correct date (by trying to create Date object).
     *
     * @param string $time String representation of date.
     * @param string $format PHP date format. If not specified, the format is got from the current culture.
     *
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:359
    public static Bitrix\Main\Type\Date::createFromText($text): DateTime|null Creates Date object from Text (return array of result object) Examples: "end ...
    /**
     * Creates Date object from Text (return array of result object)
     * Examples: "end of next week", "tomorrow morning", "friday 25.10"
     *
     * @param string $text
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:417
    protected static Bitrix\Main\Type\Date::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns short date culture format.
    /**
     * Returns short date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:293
    public static Bitrix\Main\Type\Date::createFromPhp(DateTime $datetime): static Creates Date object from PHP \DateTime object.
    /**
     * Creates Date object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:387
    public static Bitrix\Main\Type\Date::createFromTimestamp($timestamp): static Creates Date object from Unix timestamp.
    /**
     * Creates Date object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:402
  • UPDATE_AT string (19) "27.03.2026 07:23:25"
    (string) $arResult['PHOTO']['UPDATE_AT']
MESSAGE => array (23)
$arResult['MESSAGE']
ID => string (5) "51256"
$arResult['MESSAGE']['ID']
CHANNEL_ID => string (10) "1610716315"
$arResult['MESSAGE']['CHANNEL_ID']
2021-01-15T13:11:55+00:00
POST_ID => string (4) "1343"
$arResult['MESSAGE']['POST_ID']
GROUP_ID => null
$arResult['MESSAGE']['GROUP_ID']
DATE => Bitrix\Main\Type\DateTime#588 (2)
$arResult['MESSAGE']['DATE']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#587 2025-02-11 13:06:48 +00:00 UTC
    • Methods (17)
    • Static methods (5)
    • Class constants (14)
    protected userTimeEnabled -> boolean true
  • public __construct($time = null, $format = null, ?DateTimeZone $timezone = null)
    new \Bitrix\Main\Type\DateTime()
    /**
     * @param string | null $time String representation of datetime.
     * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture.
     * @param \DateTimeZone | null $timezone Optional timezone object.
     *
     * @throws Main\ObjectException
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
    public toString(?Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.
    $arResult['MESSAGE']['DATE']->toString()
    /**
     * Converts date to string, using Culture and global timezone settings.
     *
     * @param Context\Culture | null $culture Culture contains datetime format.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:86
    public getTimeZone(): \DateTimeZone Returns timezone object.
    $arResult['MESSAGE']['DATE']->getTimeZone()
    /**
     * Returns timezone object.
     *
     * @return \DateTimeZone
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
    public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.
    $arResult['MESSAGE']['DATE']->setTimeZone()
    /**
     * Sets timezone object.
     *
     * @param \DateTimeZone $timezone Timezone object.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:118
    public setDefaultTimeZone(): DateTime Sets default timezone.
    $arResult['MESSAGE']['DATE']->setDefaultTimeZone()
    /**
     * Sets default timezone.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
    public setTime($hour, $minute, $second = 0, $microseconds = 0): DateTime
    $arResult['MESSAGE']['DATE']->setTime()
    /**
     * @param int $hour Hour value.
     * @param int $minute Minute value.
     * @param int $second Second value.
     * @param int $microseconds Microseconds value.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:144
    public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.
    $arResult['MESSAGE']['DATE']->toUserTime()
    /**
     * Changes time from server time to user time using global timezone settings.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:155
    public isUserTimeEnabled(): bool
    $arResult['MESSAGE']['DATE']->isUserTimeEnabled()
    /**
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
    public disableUserTime(): $this
    $arResult['MESSAGE']['DATE']->disableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
    public enableUserTime(): $this
    $arResult['MESSAGE']['DATE']->enableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
    protected parse($format, $time): array|bool
    /**
     * @param string $format
     * @param string $time
     * @return array|bool
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:53
    public format($format): string Formats date value to string.
    $arResult['MESSAGE']['DATE']->format()
    /**
     * Formats date value to string.
     *
     * @param string $format PHP date format.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:110
    public __clone(): void Produces the copy of the object.
    clone $arResult['MESSAGE']['DATE']
    /**
     * Produces the copy of the object.
     *
     * @return void
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:120
    public add($interval): $this Performs dates arithmetic.
    $arResult['MESSAGE']['DATE']->add()
    /**
     * Performs dates arithmetic.
     *
     * Each duration period is represented by an integer value followed by a period
     * designator. If the duration contains time elements, that portion of the
     * specification is preceded by the letter T.
     * Period Designators: Y - years, M - months, D - days, W - weeks, H - hours,
     * M - minutes, S - seconds.
     * Examples: two days - 2D, two seconds - T2S, six years and five minutes - 6YT5M.
     * The unit types must be entered from the largest scale unit on the left to the
     * smallest scale unit on the right.
     * Use first "-" char for negative periods.
     * OR
     * Relative period.
     * Examples: "+5 weeks", "12 day", "-7 weekdays", '3 months - 5 days'
     *
     * @param string $interval Time interval to add.
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:145
    public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.
    $arResult['MESSAGE']['DATE']->setDate()
    /**
     * Sets the current date of the DateTime object to a different date.
     * @param int $year
     * @param int $month
     * @param int $day
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:169
    public getTimestamp(): int Returns Unix timestamp from date.
    $arResult['MESSAGE']['DATE']->getTimestamp()
    /**
     * Returns Unix timestamp from date.
     *
     * @return int
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:218
    public getDiff(Bitrix\Main\Type\Date $time): \DateInterval Returns difference between dates.
    $arResult['MESSAGE']['DATE']->getDiff()
    /**
     * Returns difference between dates.
     *
     * @param Date $time
     * @return \DateInterval
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:229
    public __toString(): string Converts a date to the string with default culture format setting.
    (string) $arResult['MESSAGE']['DATE']
    /**
     * Converts a date to the string with default culture format setting.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:252
    private Bitrix\Main\Type\Date::tryToCreateIntervalByDesignators($interval)
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:176
  • public static Bitrix\Main\Type\DateTime::secondsToOffset($seconds, $delimiter = '')
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
    public static Bitrix\Main\Type\DateTime::createFromUserTime($timeString): DateTime Creates DateTime object from local user time using global timezone settings a...
    /**
     * Creates DateTime object from local user time using global timezone settings and default culture.
     *
     * @param string $timeString Full or short formatted time.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:180
    protected static Bitrix\Main\Type\DateTime::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns long (including time) date culture format.
    /**
     * Returns long (including time) date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:216
    public static Bitrix\Main\Type\DateTime::createFromPhp(DateTime $datetime): static Creates DateTime object from PHP \DateTime object.
    /**
     * Creates DateTime object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:232
    public static Bitrix\Main\Type\DateTime::createFromTimestamp($timestamp): static Creates DateTime object from Unix timestamp.
    /**
     * Creates DateTime object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:246
    public static Bitrix\Main\Type\DateTime::tryParse($timeString, $format = null): DateTime|null Creates DateTime object from string. NULL will be returned on failure.
    /**
     * Creates DateTime object from string.
     * NULL will be returned on failure.
     * @param string $timeString Full formatted time.
     * @param string $format PHP datetime format. If not specified, the format is got from the current culture.
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:260
    public static Bitrix\Main\Type\Date::getFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns a date format from the culture in the php format.
    /**
     * Returns a date format from the culture in the php format.
     *
     * @param Context\Culture | null $culture Optional culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:264
    public static Bitrix\Main\Type\Date::convertFormatToPhp($format): string Converts date format from culture to php format.
    /**
     * Converts date format from culture to php format.
     *
     * @param string $format Format string.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:309
    public static Bitrix\Main\Type\Date::isCorrect($time, $format = null): bool Checks the string for correct date (by trying to create Date object).
    /**
     * Checks the string for correct date (by trying to create Date object).
     *
     * @param string $time String representation of date.
     * @param string $format PHP date format. If not specified, the format is got from the current culture.
     *
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:359
    public static Bitrix\Main\Type\Date::createFromText($text): DateTime|null Creates Date object from Text (return array of result object) Examples: "end ...
    /**
     * Creates Date object from Text (return array of result object)
     * Examples: "end of next week", "tomorrow morning", "friday 25.10"
     *
     * @param string $text
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:417
    protected static Bitrix\Main\Type\Date::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns short date culture format.
    /**
     * Returns short date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:293
    public static Bitrix\Main\Type\Date::createFromPhp(DateTime $datetime): static Creates Date object from PHP \DateTime object.
    /**
     * Creates Date object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:387
    public static Bitrix\Main\Type\Date::createFromTimestamp($timestamp): static Creates Date object from Unix timestamp.
    /**
     * Creates Date object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:402
  • DATE string (19) "11.02.2025 16:06:48"
    (string) $arResult['MESSAGE']['DATE']
EDIT_DATE => Bitrix\Main\Type\DateTime#586 (2)
$arResult['MESSAGE']['EDIT_DATE']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#585 2025-02-11 13:06:59 +00:00 UTC
    • Methods (17)
    • Static methods (5)
    • Class constants (14)
    protected userTimeEnabled -> boolean true
  • public __construct($time = null, $format = null, ?DateTimeZone $timezone = null)
    new \Bitrix\Main\Type\DateTime()
    /**
     * @param string | null $time String representation of datetime.
     * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture.
     * @param \DateTimeZone | null $timezone Optional timezone object.
     *
     * @throws Main\ObjectException
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
    public toString(?Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.
    $arResult['MESSAGE']['EDIT_DATE']->toString()
    /**
     * Converts date to string, using Culture and global timezone settings.
     *
     * @param Context\Culture | null $culture Culture contains datetime format.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:86
    public getTimeZone(): \DateTimeZone Returns timezone object.
    $arResult['MESSAGE']['EDIT_DATE']->getTimeZone()
    /**
     * Returns timezone object.
     *
     * @return \DateTimeZone
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
    public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.
    $arResult['MESSAGE']['EDIT_DATE']->setTimeZone()
    /**
     * Sets timezone object.
     *
     * @param \DateTimeZone $timezone Timezone object.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:118
    public setDefaultTimeZone(): DateTime Sets default timezone.
    $arResult['MESSAGE']['EDIT_DATE']->setDefaultTimeZone()
    /**
     * Sets default timezone.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
    public setTime($hour, $minute, $second = 0, $microseconds = 0): DateTime
    $arResult['MESSAGE']['EDIT_DATE']->setTime()
    /**
     * @param int $hour Hour value.
     * @param int $minute Minute value.
     * @param int $second Second value.
     * @param int $microseconds Microseconds value.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:144
    public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.
    $arResult['MESSAGE']['EDIT_DATE']->toUserTime()
    /**
     * Changes time from server time to user time using global timezone settings.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:155
    public isUserTimeEnabled(): bool
    $arResult['MESSAGE']['EDIT_DATE']->isUserTimeEnabled()
    /**
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
    public disableUserTime(): $this
    $arResult['MESSAGE']['EDIT_DATE']->disableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
    public enableUserTime(): $this
    $arResult['MESSAGE']['EDIT_DATE']->enableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
    protected parse($format, $time): array|bool
    /**
     * @param string $format
     * @param string $time
     * @return array|bool
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:53
    public format($format): string Formats date value to string.
    $arResult['MESSAGE']['EDIT_DATE']->format()
    /**
     * Formats date value to string.
     *
     * @param string $format PHP date format.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:110
    public __clone(): void Produces the copy of the object.
    clone $arResult['MESSAGE']['EDIT_DATE']
    /**
     * Produces the copy of the object.
     *
     * @return void
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:120
    public add($interval): $this Performs dates arithmetic.
    $arResult['MESSAGE']['EDIT_DATE']->add()
    /**
     * Performs dates arithmetic.
     *
     * Each duration period is represented by an integer value followed by a period
     * designator. If the duration contains time elements, that portion of the
     * specification is preceded by the letter T.
     * Period Designators: Y - years, M - months, D - days, W - weeks, H - hours,
     * M - minutes, S - seconds.
     * Examples: two days - 2D, two seconds - T2S, six years and five minutes - 6YT5M.
     * The unit types must be entered from the largest scale unit on the left to the
     * smallest scale unit on the right.
     * Use first "-" char for negative periods.
     * OR
     * Relative period.
     * Examples: "+5 weeks", "12 day", "-7 weekdays", '3 months - 5 days'
     *
     * @param string $interval Time interval to add.
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:145
    public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.
    $arResult['MESSAGE']['EDIT_DATE']->setDate()
    /**
     * Sets the current date of the DateTime object to a different date.
     * @param int $year
     * @param int $month
     * @param int $day
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:169
    public getTimestamp(): int Returns Unix timestamp from date.
    $arResult['MESSAGE']['EDIT_DATE']->getTimestamp()
    /**
     * Returns Unix timestamp from date.
     *
     * @return int
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:218
    public getDiff(Bitrix\Main\Type\Date $time): \DateInterval Returns difference between dates.
    $arResult['MESSAGE']['EDIT_DATE']->getDiff()
    /**
     * Returns difference between dates.
     *
     * @param Date $time
     * @return \DateInterval
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:229
    public __toString(): string Converts a date to the string with default culture format setting.
    (string) $arResult['MESSAGE']['EDIT_DATE']
    /**
     * Converts a date to the string with default culture format setting.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:252
    private Bitrix\Main\Type\Date::tryToCreateIntervalByDesignators($interval)
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:176
  • public static Bitrix\Main\Type\DateTime::secondsToOffset($seconds, $delimiter = '')
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
    public static Bitrix\Main\Type\DateTime::createFromUserTime($timeString): DateTime Creates DateTime object from local user time using global timezone settings a...
    /**
     * Creates DateTime object from local user time using global timezone settings and default culture.
     *
     * @param string $timeString Full or short formatted time.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:180
    protected static Bitrix\Main\Type\DateTime::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns long (including time) date culture format.
    /**
     * Returns long (including time) date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:216
    public static Bitrix\Main\Type\DateTime::createFromPhp(DateTime $datetime): static Creates DateTime object from PHP \DateTime object.
    /**
     * Creates DateTime object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:232
    public static Bitrix\Main\Type\DateTime::createFromTimestamp($timestamp): static Creates DateTime object from Unix timestamp.
    /**
     * Creates DateTime object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:246
    public static Bitrix\Main\Type\DateTime::tryParse($timeString, $format = null): DateTime|null Creates DateTime object from string. NULL will be returned on failure.
    /**
     * Creates DateTime object from string.
     * NULL will be returned on failure.
     * @param string $timeString Full formatted time.
     * @param string $format PHP datetime format. If not specified, the format is got from the current culture.
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:260
    public static Bitrix\Main\Type\Date::getFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns a date format from the culture in the php format.
    /**
     * Returns a date format from the culture in the php format.
     *
     * @param Context\Culture | null $culture Optional culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:264
    public static Bitrix\Main\Type\Date::convertFormatToPhp($format): string Converts date format from culture to php format.
    /**
     * Converts date format from culture to php format.
     *
     * @param string $format Format string.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:309
    public static Bitrix\Main\Type\Date::isCorrect($time, $format = null): bool Checks the string for correct date (by trying to create Date object).
    /**
     * Checks the string for correct date (by trying to create Date object).
     *
     * @param string $time String representation of date.
     * @param string $format PHP date format. If not specified, the format is got from the current culture.
     *
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:359
    public static Bitrix\Main\Type\Date::createFromText($text): DateTime|null Creates Date object from Text (return array of result object) Examples: "end ...
    /**
     * Creates Date object from Text (return array of result object)
     * Examples: "end of next week", "tomorrow morning", "friday 25.10"
     *
     * @param string $text
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:417
    protected static Bitrix\Main\Type\Date::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns short date culture format.
    /**
     * Returns short date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:293
    public static Bitrix\Main\Type\Date::createFromPhp(DateTime $datetime): static Creates Date object from PHP \DateTime object.
    /**
     * Creates Date object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:387
    public static Bitrix\Main\Type\Date::createFromTimestamp($timestamp): static Creates Date object from Unix timestamp.
    /**
     * Creates Date object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:402
  • EDIT_DATE string (19) "11.02.2025 16:06:59"
    (string) $arResult['MESSAGE']['EDIT_DATE']
AUTHOR_NAME => UTF-8 string (67) "Центр кооперации и импортозамещения"
$arResult['MESSAGE']['AUTHOR_NAME']
AUTHOR_DATA => array (3)
$arResult['MESSAGE']['AUTHOR_DATA']
id => integer 1610716315
$arResult['MESSAGE']['AUTHOR_DATA']['id']
2021-01-15T13:11:55+00:00
name => UTF-8 string (67) "Центр кооперации и импортозамещения"
$arResult['MESSAGE']['AUTHOR_DATA']['name']
username => string (6) "airo61"
$arResult['MESSAGE']['AUTHOR_DATA']['username']
CODE => string (59) "nayti-zakazchikov-privlech-finansirovanie-i-poluchit-gospod"
$arResult['MESSAGE']['CODE']
VIEWS => string (3) "306"
$arResult['MESSAGE']['VIEWS']
FORWARDS => string (1) "4"
$arResult['MESSAGE']['FORWARDS']
COMMENTS => string (1) "0"
$arResult['MESSAGE']['COMMENTS']
REPLY_TO => null
$arResult['MESSAGE']['REPLY_TO']
FWD_FROM => array (0)
$arResult['MESSAGE']['FWD_FROM']
REACTIONS => array (1)
$arResult['MESSAGE']['REACTIONS']
0 => array (5)
$arResult['MESSAGE']['REACTIONS'][0]
hex => string (8) "F09F918D"
$arResult['MESSAGE']['REACTIONS'][0]['hex']
html => string (102) "<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/F0...
$arResult['MESSAGE']['REACTIONS'][0]['html']
<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/F09F918D.png')"><b>?</b></i>
count => integer 2
$arResult['MESSAGE']['REACTIONS'][0]['count']
emoji => null
$arResult['MESSAGE']['REACTIONS'][0]['emoji']
reaction => string (1) "?"
$arResult['MESSAGE']['REACTIONS'][0]['reaction']
LANG_CODE => string (2) "ru"
$arResult['MESSAGE']['LANG_CODE']
MESSAGE_LENGTH => string (3) "868"
$arResult['MESSAGE']['MESSAGE_LENGTH']
SCORE => string (2) "86"
$arResult['MESSAGE']['SCORE']
SCORE_UPDATED_AT => Bitrix\Main\Type\DateTime#584 (2)
$arResult['MESSAGE']['SCORE_UPDATED_AT']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#583 2026-04-27 11:05:46 +00:00 UTC
    • Methods (17)
    • Static methods (5)
    • Class constants (14)
    protected userTimeEnabled -> boolean true
  • public __construct($time = null, $format = null, ?DateTimeZone $timezone = null)
    new \Bitrix\Main\Type\DateTime()
    /**
     * @param string | null $time String representation of datetime.
     * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture.
     * @param \DateTimeZone | null $timezone Optional timezone object.
     *
     * @throws Main\ObjectException
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
    public toString(?Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.
    $arResult['MESSAGE']['SCORE_UPDATED_AT']->toString()
    /**
     * Converts date to string, using Culture and global timezone settings.
     *
     * @param Context\Culture | null $culture Culture contains datetime format.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:86
    public getTimeZone(): \DateTimeZone Returns timezone object.
    $arResult['MESSAGE']['SCORE_UPDATED_AT']->getTimeZone()
    /**
     * Returns timezone object.
     *
     * @return \DateTimeZone
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
    public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.
    $arResult['MESSAGE']['SCORE_UPDATED_AT']->setTimeZone()
    /**
     * Sets timezone object.
     *
     * @param \DateTimeZone $timezone Timezone object.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:118
    public setDefaultTimeZone(): DateTime Sets default timezone.
    $arResult['MESSAGE']['SCORE_UPDATED_AT']->setDefaultTimeZone()
    /**
     * Sets default timezone.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
    public setTime($hour, $minute, $second = 0, $microseconds = 0): DateTime
    $arResult['MESSAGE']['SCORE_UPDATED_AT']->setTime()
    /**
     * @param int $hour Hour value.
     * @param int $minute Minute value.
     * @param int $second Second value.
     * @param int $microseconds Microseconds value.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:144
    public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.
    $arResult['MESSAGE']['SCORE_UPDATED_AT']->toUserTime()
    /**
     * Changes time from server time to user time using global timezone settings.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:155
    public isUserTimeEnabled(): bool
    $arResult['MESSAGE']['SCORE_UPDATED_AT']->isUserTimeEnabled()
    /**
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
    public disableUserTime(): $this
    $arResult['MESSAGE']['SCORE_UPDATED_AT']->disableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
    public enableUserTime(): $this
    $arResult['MESSAGE']['SCORE_UPDATED_AT']->enableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
    protected parse($format, $time): array|bool
    /**
     * @param string $format
     * @param string $time
     * @return array|bool
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:53
    public format($format): string Formats date value to string.
    $arResult['MESSAGE']['SCORE_UPDATED_AT']->format()
    /**
     * Formats date value to string.
     *
     * @param string $format PHP date format.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:110
    public __clone(): void Produces the copy of the object.
    clone $arResult['MESSAGE']['SCORE_UPDATED_AT']
    /**
     * Produces the copy of the object.
     *
     * @return void
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:120
    public add($interval): $this Performs dates arithmetic.
    $arResult['MESSAGE']['SCORE_UPDATED_AT']->add()
    /**
     * Performs dates arithmetic.
     *
     * Each duration period is represented by an integer value followed by a period
     * designator. If the duration contains time elements, that portion of the
     * specification is preceded by the letter T.
     * Period Designators: Y - years, M - months, D - days, W - weeks, H - hours,
     * M - minutes, S - seconds.
     * Examples: two days - 2D, two seconds - T2S, six years and five minutes - 6YT5M.
     * The unit types must be entered from the largest scale unit on the left to the
     * smallest scale unit on the right.
     * Use first "-" char for negative periods.
     * OR
     * Relative period.
     * Examples: "+5 weeks", "12 day", "-7 weekdays", '3 months - 5 days'
     *
     * @param string $interval Time interval to add.
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:145
    public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.
    $arResult['MESSAGE']['SCORE_UPDATED_AT']->setDate()
    /**
     * Sets the current date of the DateTime object to a different date.
     * @param int $year
     * @param int $month
     * @param int $day
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:169
    public getTimestamp(): int Returns Unix timestamp from date.
    $arResult['MESSAGE']['SCORE_UPDATED_AT']->getTimestamp()
    /**
     * Returns Unix timestamp from date.
     *
     * @return int
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:218
    public getDiff(Bitrix\Main\Type\Date $time): \DateInterval Returns difference between dates.
    $arResult['MESSAGE']['SCORE_UPDATED_AT']->getDiff()
    /**
     * Returns difference between dates.
     *
     * @param Date $time
     * @return \DateInterval
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:229
    public __toString(): string Converts a date to the string with default culture format setting.
    (string) $arResult['MESSAGE']['SCORE_UPDATED_AT']
    /**
     * Converts a date to the string with default culture format setting.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:252
    private Bitrix\Main\Type\Date::tryToCreateIntervalByDesignators($interval)
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:176
  • public static Bitrix\Main\Type\DateTime::secondsToOffset($seconds, $delimiter = '')
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
    public static Bitrix\Main\Type\DateTime::createFromUserTime($timeString): DateTime Creates DateTime object from local user time using global timezone settings a...
    /**
     * Creates DateTime object from local user time using global timezone settings and default culture.
     *
     * @param string $timeString Full or short formatted time.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:180
    protected static Bitrix\Main\Type\DateTime::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns long (including time) date culture format.
    /**
     * Returns long (including time) date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:216
    public static Bitrix\Main\Type\DateTime::createFromPhp(DateTime $datetime): static Creates DateTime object from PHP \DateTime object.
    /**
     * Creates DateTime object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:232
    public static Bitrix\Main\Type\DateTime::createFromTimestamp($timestamp): static Creates DateTime object from Unix timestamp.
    /**
     * Creates DateTime object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:246
    public static Bitrix\Main\Type\DateTime::tryParse($timeString, $format = null): DateTime|null Creates DateTime object from string. NULL will be returned on failure.
    /**
     * Creates DateTime object from string.
     * NULL will be returned on failure.
     * @param string $timeString Full formatted time.
     * @param string $format PHP datetime format. If not specified, the format is got from the current culture.
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:260
    public static Bitrix\Main\Type\Date::getFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns a date format from the culture in the php format.
    /**
     * Returns a date format from the culture in the php format.
     *
     * @param Context\Culture | null $culture Optional culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:264
    public static Bitrix\Main\Type\Date::convertFormatToPhp($format): string Converts date format from culture to php format.
    /**
     * Converts date format from culture to php format.
     *
     * @param string $format Format string.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:309
    public static Bitrix\Main\Type\Date::isCorrect($time, $format = null): bool Checks the string for correct date (by trying to create Date object).
    /**
     * Checks the string for correct date (by trying to create Date object).
     *
     * @param string $time String representation of date.
     * @param string $format PHP date format. If not specified, the format is got from the current culture.
     *
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:359
    public static Bitrix\Main\Type\Date::createFromText($text): DateTime|null Creates Date object from Text (return array of result object) Examples: "end ...
    /**
     * Creates Date object from Text (return array of result object)
     * Examples: "end of next week", "tomorrow morning", "friday 25.10"
     *
     * @param string $text
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:417
    protected static Bitrix\Main\Type\Date::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns short date culture format.
    /**
     * Returns short date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:293
    public static Bitrix\Main\Type\Date::createFromPhp(DateTime $datetime): static Creates Date object from PHP \DateTime object.
    /**
     * Creates Date object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:387
    public static Bitrix\Main\Type\Date::createFromTimestamp($timestamp): static Creates Date object from Unix timestamp.
    /**
     * Creates Date object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:402
  • SCORE_UPDATED_AT string (19) "27.04.2026 14:05:46"
    (string) $arResult['MESSAGE']['SCORE_UPDATED_AT']
UPDATE_AT => Bitrix\Main\Type\DateTime#582 (2)
$arResult['MESSAGE']['UPDATE_AT']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#581 2026-05-12 12:44:33 +00:00 UTC
    • Methods (17)
    • Static methods (5)
    • Class constants (14)
    protected userTimeEnabled -> boolean true
  • public __construct($time = null, $format = null, ?DateTimeZone $timezone = null)
    new \Bitrix\Main\Type\DateTime()
    /**
     * @param string | null $time String representation of datetime.
     * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture.
     * @param \DateTimeZone | null $timezone Optional timezone object.
     *
     * @throws Main\ObjectException
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
    public toString(?Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.
    $arResult['MESSAGE']['UPDATE_AT']->toString()
    /**
     * Converts date to string, using Culture and global timezone settings.
     *
     * @param Context\Culture | null $culture Culture contains datetime format.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:86
    public getTimeZone(): \DateTimeZone Returns timezone object.
    $arResult['MESSAGE']['UPDATE_AT']->getTimeZone()
    /**
     * Returns timezone object.
     *
     * @return \DateTimeZone
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
    public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.
    $arResult['MESSAGE']['UPDATE_AT']->setTimeZone()
    /**
     * Sets timezone object.
     *
     * @param \DateTimeZone $timezone Timezone object.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:118
    public setDefaultTimeZone(): DateTime Sets default timezone.
    $arResult['MESSAGE']['UPDATE_AT']->setDefaultTimeZone()
    /**
     * Sets default timezone.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
    public setTime($hour, $minute, $second = 0, $microseconds = 0): DateTime
    $arResult['MESSAGE']['UPDATE_AT']->setTime()
    /**
     * @param int $hour Hour value.
     * @param int $minute Minute value.
     * @param int $second Second value.
     * @param int $microseconds Microseconds value.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:144
    public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.
    $arResult['MESSAGE']['UPDATE_AT']->toUserTime()
    /**
     * Changes time from server time to user time using global timezone settings.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:155
    public isUserTimeEnabled(): bool
    $arResult['MESSAGE']['UPDATE_AT']->isUserTimeEnabled()
    /**
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
    public disableUserTime(): $this
    $arResult['MESSAGE']['UPDATE_AT']->disableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
    public enableUserTime(): $this
    $arResult['MESSAGE']['UPDATE_AT']->enableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
    protected parse($format, $time): array|bool
    /**
     * @param string $format
     * @param string $time
     * @return array|bool
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:53
    public format($format): string Formats date value to string.
    $arResult['MESSAGE']['UPDATE_AT']->format()
    /**
     * Formats date value to string.
     *
     * @param string $format PHP date format.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:110
    public __clone(): void Produces the copy of the object.
    clone $arResult['MESSAGE']['UPDATE_AT']
    /**
     * Produces the copy of the object.
     *
     * @return void
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:120
    public add($interval): $this Performs dates arithmetic.
    $arResult['MESSAGE']['UPDATE_AT']->add()
    /**
     * Performs dates arithmetic.
     *
     * Each duration period is represented by an integer value followed by a period
     * designator. If the duration contains time elements, that portion of the
     * specification is preceded by the letter T.
     * Period Designators: Y - years, M - months, D - days, W - weeks, H - hours,
     * M - minutes, S - seconds.
     * Examples: two days - 2D, two seconds - T2S, six years and five minutes - 6YT5M.
     * The unit types must be entered from the largest scale unit on the left to the
     * smallest scale unit on the right.
     * Use first "-" char for negative periods.
     * OR
     * Relative period.
     * Examples: "+5 weeks", "12 day", "-7 weekdays", '3 months - 5 days'
     *
     * @param string $interval Time interval to add.
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:145
    public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.
    $arResult['MESSAGE']['UPDATE_AT']->setDate()
    /**
     * Sets the current date of the DateTime object to a different date.
     * @param int $year
     * @param int $month
     * @param int $day
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:169
    public getTimestamp(): int Returns Unix timestamp from date.
    $arResult['MESSAGE']['UPDATE_AT']->getTimestamp()
    /**
     * Returns Unix timestamp from date.
     *
     * @return int
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:218
    public getDiff(Bitrix\Main\Type\Date $time): \DateInterval Returns difference between dates.
    $arResult['MESSAGE']['UPDATE_AT']->getDiff()
    /**
     * Returns difference between dates.
     *
     * @param Date $time
     * @return \DateInterval
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:229
    public __toString(): string Converts a date to the string with default culture format setting.
    (string) $arResult['MESSAGE']['UPDATE_AT']
    /**
     * Converts a date to the string with default culture format setting.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:252
    private Bitrix\Main\Type\Date::tryToCreateIntervalByDesignators($interval)
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:176
  • public static Bitrix\Main\Type\DateTime::secondsToOffset($seconds, $delimiter = '')
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
    public static Bitrix\Main\Type\DateTime::createFromUserTime($timeString): DateTime Creates DateTime object from local user time using global timezone settings a...
    /**
     * Creates DateTime object from local user time using global timezone settings and default culture.
     *
     * @param string $timeString Full or short formatted time.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:180
    protected static Bitrix\Main\Type\DateTime::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns long (including time) date culture format.
    /**
     * Returns long (including time) date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:216
    public static Bitrix\Main\Type\DateTime::createFromPhp(DateTime $datetime): static Creates DateTime object from PHP \DateTime object.
    /**
     * Creates DateTime object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:232
    public static Bitrix\Main\Type\DateTime::createFromTimestamp($timestamp): static Creates DateTime object from Unix timestamp.
    /**
     * Creates DateTime object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:246
    public static Bitrix\Main\Type\DateTime::tryParse($timeString, $format = null): DateTime|null Creates DateTime object from string. NULL will be returned on failure.
    /**
     * Creates DateTime object from string.
     * NULL will be returned on failure.
     * @param string $timeString Full formatted time.
     * @param string $format PHP datetime format. If not specified, the format is got from the current culture.
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:260
    public static Bitrix\Main\Type\Date::getFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns a date format from the culture in the php format.
    /**
     * Returns a date format from the culture in the php format.
     *
     * @param Context\Culture | null $culture Optional culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:264
    public static Bitrix\Main\Type\Date::convertFormatToPhp($format): string Converts date format from culture to php format.
    /**
     * Converts date format from culture to php format.
     *
     * @param string $format Format string.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:309
    public static Bitrix\Main\Type\Date::isCorrect($time, $format = null): bool Checks the string for correct date (by trying to create Date object).
    /**
     * Checks the string for correct date (by trying to create Date object).
     *
     * @param string $time String representation of date.
     * @param string $format PHP date format. If not specified, the format is got from the current culture.
     *
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:359
    public static Bitrix\Main\Type\Date::createFromText($text): DateTime|null Creates Date object from Text (return array of result object) Examples: "end ...
    /**
     * Creates Date object from Text (return array of result object)
     * Examples: "end of next week", "tomorrow morning", "friday 25.10"
     *
     * @param string $text
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:417
    protected static Bitrix\Main\Type\Date::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns short date culture format.
    /**
     * Returns short date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:293
    public static Bitrix\Main\Type\Date::createFromPhp(DateTime $datetime): static Creates Date object from PHP \DateTime object.
    /**
     * Creates Date object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:387
    public static Bitrix\Main\Type\Date::createFromTimestamp($timestamp): static Creates Date object from Unix timestamp.
    /**
     * Creates Date object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:402
  • UPDATE_AT string (19) "12.05.2026 15:44:33"
    (string) $arResult['MESSAGE']['UPDATE_AT']
MESSAGE => UTF-8 string (1521) "**?Найти заказчиков, привлечь финансирование и получить господдержку**! Все ...
$arResult['MESSAGE']['MESSAGE']
**?Найти заказчиков, привлечь финансирование и получить господдержку**! Все это можно сделать на платформе [МСП.РФ](https://xn--l1agf.xn--p1ai/)

**Более 30 сервисов** для предпринимателей от обучения до разработки инвестпроектов????

**Некоторые инструменты на платформе:**
?**проверить контрагентов:** избежите рисков ведения бизнеса с недобросовестным контрагентом
?**пройти бизнес-обучение:** оценка компетенций, лекции, создание стратегии 
?**получить региональные меры поддержки:** субсидии, льготное финансирование, сертификации
?**найти имущество для бизнеса: **подобрать помещение или земельный участок для покупки или аренды, в том числе на льготных условиях

Через сервис микрофинансирования МСП уже получили **18 млрд ?**?

Для вашего удобства [МСП.РФ](https://xn--l1agf.xn--p1ai/) интегрирован с Минфином, Госуслугами и личным кабинетом налогоплательщика.
MESSAGE_HTML => UTF-8 string (1624) "<b>??Найти заказчиков, привлечь финансирование и получить господдержку</b>! ...
$arResult['MESSAGE']['MESSAGE_HTML']
<b>??Найти заказчиков, привлечь финансирование и получить господдержку</b>! Все это можно сделать на платформе <a href="https://xn--l1agf.xn--p1ai/">МСП.РФ</a><br>
<br>
<b>Более 30 сервисов</b> для предпринимателей от обучения до разработки инвестпроектов???????<br>
<br>
<b>Некоторые инструменты на платформе:</b><br>
??<b>проверить контрагентов:</b> избежите рисков ведения бизнеса с недобросовестным контрагентом<br>
??<b>пройти бизнес-обучение:</b> оценка компетенций, лекции, создание стратегии <br>
??<b>получить региональные меры поддержки:</b> субсидии, льготное финансирование, сертификации<br>
??<b>найти имущество для бизнеса: </b>подобрать помещение или земельный участок для покупки или аренды, в том числе на льготных условиях<br>
<br>
Через сервис микрофинансирования МСП уже получили <b>18 млрд ?</b>??<br>
<br>
Для вашего удобства <a href="https://xn--l1agf.xn--p1ai/">МСП.РФ</a> интегрирован с Минфином, Госуслугами и личным кабинетом налогоплательщика.
MEDIA => null
$arResult['MESSAGE']['MEDIA']
IS_EMBED => boolean false
$arResult['IS_EMBED']
IS_DETAILED => boolean true
$arResult['IS_DETAILED']
avatar
Агентство инноваций Ростовской области
@airo61
11.02.2025 13:06
??Найти заказчиков, привлечь финансирование и получить господдержку! Все это можно сделать на платформе МСП.РФ

Более 30 сервисов для предпринимателей от обучения до разработки инвестпроектов???????

Некоторые инструменты на платформе:
??проверить контрагентов: избежите рисков ведения бизнеса с недобросовестным контрагентом
??пройти бизнес-обучение: оценка компетенций, лекции, создание стратегии
??получить региональные меры поддержки: субсидии, льготное финансирование, сертификации
??найти имущество для бизнеса: подобрать помещение или земельный участок для покупки или аренды, в том числе на льготных условиях

Через сервис микрофинансирования МСП уже получили 18 млрд ???

Для вашего удобства МСП.РФ интегрирован с Минфином, Госуслугами и личным кабинетом налогоплательщика.
? 2
4 306

Обсуждение 0

Обсуждение не доступно в веб-версии. Чтобы написать комментарий, перейдите в приложение Telegram.

Обсудить в Telegram