$arResult array (41)
ID => string (10) "1743955252"
$arResult['ID']
2025-04-06T16:00:52+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 (39) "Благословите женщину"
$arResult['NAME']
USERNAME => string (11) "zhenchina11"
$arResult['USERNAME']
DESCRIPTION => UTF-8 string (282) "Авторский канал жены военного💫 Пока сюда не пишу, пусть это будет как дневни...
$arResult['DESCRIPTION']
Авторский канал жены военного💫

Пока сюда не пишу, пусть это будет как дневник, который закончился и его можно перечитать♥️

Вопросы/предложения: @blinovablin
DESCRIPTION_LENGTH => string (2) "65"
$arResult['DESCRIPTION_LENGTH']
CREATION => Bitrix\Main\Type\DateTime#477 (2)
$arResult['CREATION']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#476 2022-04-23 10:30:27 +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) "23.04.2022 13:30:27"
    (string) $arResult['CREATION']
UPDATE_AT => Bitrix\Main\Type\DateTime#475 (2)
$arResult['UPDATE_AT']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#474 2026-05-25 12:02:47 +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) "25.05.2026 15:02:47"
    (string) $arResult['UPDATE_AT']
CHANNEL_ID => string (10) "1743955252"
$arResult['CHANNEL_ID']
2025-04-06T16:00:52+00:00
CHANNEL_CATEGORY_ID => null
$arResult['CHANNEL_CATEGORY_ID']
CHANNEL_MEGAGROUP => string (1) "0"
$arResult['CHANNEL_MEGAGROUP']
CHANNEL_GIGAGROUP => string (1) "0"
$arResult['CHANNEL_GIGAGROUP']
CHANNEL_SUBSCRIBERS => string (4) "1737"
$arResult['CHANNEL_SUBSCRIBERS']
CHANNEL_CHAT => string (10) "1783245456"
$arResult['CHANNEL_CHAT']
2026-07-05T09:57:36+00:00
CHANNEL_PTS => string (4) "1371"
$arResult['CHANNEL_PTS']
CHANNEL_PTS_DATE => Bitrix\Main\Type\DateTime#473 (2)
$arResult['CHANNEL_PTS_DATE']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#472 2025-10-05 12:03:42 +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) "05.10.2025 15:03:42"
    (string) $arResult['CHANNEL_PTS_DATE']
CHANNEL_UPDATE_AT => Bitrix\Main\Type\DateTime#471 (2)
$arResult['CHANNEL_UPDATE_AT']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#470 2026-05-22 15:42:09 +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) "22.05.2026 18:42:09"
    (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) "1743955252"
$arResult['PHOTO']['ID']
2025-04-06T16:00:52+00:00
PHOTO_ID => string (19) "5190903641974887935"
$arResult['PHOTO']['PHOTO_ID']
TYPE => string (10) "image/jpeg"
$arResult['PHOTO']['TYPE']
SIZE => string (6) "177116"
$arResult['PHOTO']['SIZE']
WIDTH => string (3) "640"
$arResult['PHOTO']['WIDTH']
HEIGHT => string (3) "640"
$arResult['PHOTO']['HEIGHT']
PATH => string (56) "/upload/tg/user_photo/1743955252_5190903641974887935.jpg"
$arResult['PHOTO']['PATH']
UPDATE_AT => Bitrix\Main\Type\DateTime#467 (2)
$arResult['PHOTO']['UPDATE_AT']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#468 2026-03-24 12:06:50 +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) "24.03.2026 15:06:50"
    (string) $arResult['PHOTO']['UPDATE_AT']
MESSAGE => array (23)
$arResult['MESSAGE']
ID => string (6) "226189"
$arResult['MESSAGE']['ID']
CHANNEL_ID => string (10) "1743955252"
$arResult['MESSAGE']['CHANNEL_ID']
2025-04-06T16:00:52+00:00
POST_ID => string (3) "141"
$arResult['MESSAGE']['POST_ID']
GROUP_ID => null
$arResult['MESSAGE']['GROUP_ID']
DATE => Bitrix\Main\Type\DateTime#601 (2)
$arResult['MESSAGE']['DATE']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#600 2024-02-22 16:37:24 +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) "22.02.2024 19:37:24"
    (string) $arResult['MESSAGE']['DATE']
EDIT_DATE => Bitrix\Main\Type\DateTime#599 (2)
$arResult['MESSAGE']['EDIT_DATE']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#598 2024-02-24 13:17: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['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) "24.02.2024 16:17:25"
    (string) $arResult['MESSAGE']['EDIT_DATE']
AUTHOR_NAME => UTF-8 string (39) "Благословите женщину"
$arResult['MESSAGE']['AUTHOR_NAME']
AUTHOR_DATA => array (3)
$arResult['MESSAGE']['AUTHOR_DATA']
id => integer 1743955252
$arResult['MESSAGE']['AUTHOR_DATA']['id']
2025-04-06T16:00:52+00:00
name => UTF-8 string (39) "Благословите женщину"
$arResult['MESSAGE']['AUTHOR_DATA']['name']
username => string (11) "zhenchina11"
$arResult['MESSAGE']['AUTHOR_DATA']['username']
CODE => string (62) "muzhu-v-sanatorii-dlya-ranenykh-propisali-apiterapiyu-lechenie"
$arResult['MESSAGE']['CODE']
VIEWS => string (4) "4579"
$arResult['MESSAGE']['VIEWS']
FORWARDS => string (2) "16"
$arResult['MESSAGE']['FORWARDS']
COMMENTS => string (2) "36"
$arResult['MESSAGE']['COMMENTS']
REPLY_TO => null
$arResult['MESSAGE']['REPLY_TO']
FWD_FROM => array (0)
$arResult['MESSAGE']['FWD_FROM']
REACTIONS => array (5)
$arResult['MESSAGE']['REACTIONS']
  • Table (5)
  • Contents (5)
  • hexhtmlcountemojireaction
    0F09F918D<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/FUTF-8132null👍
    1F09F9881<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/FUTF-831null😁
    2E29DA4<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/EUTF-811null
    3F09F94A5<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/FUTF-87null🔥
    4F09F918E<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/FUTF-81null👎
  • 0 => array (5)
    $arResult['MESSAGE']['REACTIONS'][0]
    hex => string (8) "F09F918D"
    $arResult['MESSAGE']['REACTIONS'][0]['hex']
    html => UTF-8 string (105) "<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 132
    $arResult['MESSAGE']['REACTIONS'][0]['count']
    emoji => null
    $arResult['MESSAGE']['REACTIONS'][0]['emoji']
    reaction => UTF-8 string (4) "👍"
    $arResult['MESSAGE']['REACTIONS'][0]['reaction']
    1 => array (5)
    $arResult['MESSAGE']['REACTIONS'][1]
    hex => string (8) "F09F9881"
    $arResult['MESSAGE']['REACTIONS'][1]['hex']
    html => UTF-8 string (105) "<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/F0...
    $arResult['MESSAGE']['REACTIONS'][1]['html']
    <i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/F09F9881.png')"><b>😁</b></i>
    
    count => integer 31
    $arResult['MESSAGE']['REACTIONS'][1]['count']
    emoji => null
    $arResult['MESSAGE']['REACTIONS'][1]['emoji']
    reaction => UTF-8 string (4) "😁"
    $arResult['MESSAGE']['REACTIONS'][1]['reaction']
    2 => array (5)
    $arResult['MESSAGE']['REACTIONS'][2]
    hex => string (6) "E29DA4"
    $arResult['MESSAGE']['REACTIONS'][2]['hex']
    html => UTF-8 string (102) "<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/E2...
    $arResult['MESSAGE']['REACTIONS'][2]['html']
    <i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/E29DA4.png')"><b>❤</b></i>
    
    count => integer 11
    $arResult['MESSAGE']['REACTIONS'][2]['count']
    emoji => null
    $arResult['MESSAGE']['REACTIONS'][2]['emoji']
    reaction => UTF-8 string (3) "❤"
    $arResult['MESSAGE']['REACTIONS'][2]['reaction']
    3 => array (5)
    $arResult['MESSAGE']['REACTIONS'][3]
    hex => string (8) "F09F94A5"
    $arResult['MESSAGE']['REACTIONS'][3]['hex']
    html => UTF-8 string (105) "<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/F0...
    $arResult['MESSAGE']['REACTIONS'][3]['html']
    <i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/F09F94A5.png')"><b>🔥</b></i>
    
    count => integer 7
    $arResult['MESSAGE']['REACTIONS'][3]['count']
    emoji => null
    $arResult['MESSAGE']['REACTIONS'][3]['emoji']
    reaction => UTF-8 string (4) "🔥"
    $arResult['MESSAGE']['REACTIONS'][3]['reaction']
    4 => array (5)
    $arResult['MESSAGE']['REACTIONS'][4]
    hex => string (8) "F09F918E"
    $arResult['MESSAGE']['REACTIONS'][4]['hex']
    html => UTF-8 string (105) "<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/F0...
    $arResult['MESSAGE']['REACTIONS'][4]['html']
    <i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/F09F918E.png')"><b>👎</b></i>
    
    count => integer 1
    $arResult['MESSAGE']['REACTIONS'][4]['count']
    emoji => null
    $arResult['MESSAGE']['REACTIONS'][4]['emoji']
    reaction => UTF-8 string (4) "👎"
    $arResult['MESSAGE']['REACTIONS'][4]['reaction']
LANG_CODE => string (2) "ru"
$arResult['MESSAGE']['LANG_CODE']
MESSAGE_LENGTH => string (3) "592"
$arResult['MESSAGE']['MESSAGE_LENGTH']
SCORE => string (2) "86"
$arResult['MESSAGE']['SCORE']
SCORE_UPDATED_AT => Bitrix\Main\Type\DateTime#597 (2)
$arResult['MESSAGE']['SCORE_UPDATED_AT']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#596 2026-04-27 11:07:44 +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:07:44"
    (string) $arResult['MESSAGE']['SCORE_UPDATED_AT']
UPDATE_AT => Bitrix\Main\Type\DateTime#595 (2)
$arResult['MESSAGE']['UPDATE_AT']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#594 2026-05-19 06:41:23 +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) "19.05.2026 09:41:23"
    (string) $arResult['MESSAGE']['UPDATE_AT']
MESSAGE => UTF-8 string (1074) "Мужу в санатории для раненых прописали апитерапию - лечение пчелами))) на бо...
$arResult['MESSAGE']['MESSAGE']
Мужу в санатории для раненых прописали апитерапию - лечение пчелами))) на больное место сажают пчел и они кусают😁

Не знаю, насколько это научно доказано. Я так понимаю, любые процедуры направлены на улучшение кровообращения и восстановление тканей)) но апитерапия - забавно🙈

П.С. Я думала это мракобесие, но муж говорит - помогает!! Кроме ноги у него есть другие ранения, туда тоже пчел сажали. Так вот рубцы стали светлее, кожа эластичнее. Что, в свою очередь, дают увеличивают амплитуду движения. 
Видимо, улучшается кровообращение плюс у пчел какие-то полезные вещества в яде🤔 интересно!
MESSAGE_HTML => UTF-8 string (1094) "Мужу в санатории для раненых прописали апитерапию - лечение пчелами))) на бо...
$arResult['MESSAGE']['MESSAGE_HTML']
Мужу в санатории для раненых прописали апитерапию - лечение пчелами))) на больное место сажают пчел и они кусают😁<br>
<br>
Не знаю, насколько это научно доказано. Я так понимаю, любые процедуры направлены на улучшение кровообращения и восстановление тканей)) но апитерапия - забавно🙈<br>
<br>
П.С. Я думала это мракобесие, но муж говорит - помогает!! Кроме ноги у него есть другие ранения, туда тоже пчел сажали. Так вот рубцы стали светлее, кожа эластичнее. Что, в свою очередь, дают увеличивают амплитуду движения. <br>
Видимо, улучшается кровообращение плюс у пчел какие-то полезные вещества в яде🤔 интересно!
MEDIA => array (13)
$arResult['MESSAGE']['MEDIA']
ID => string (6) "226189"
$arResult['MESSAGE']['MEDIA']['ID']
CHANNEL_ID => string (10) "1743955252"
$arResult['MESSAGE']['MEDIA']['CHANNEL_ID']
2025-04-06T16:00:52+00:00
POST_ID => string (3) "141"
$arResult['MESSAGE']['MEDIA']['POST_ID']
MEDIA_ID => string (19) "5384352735673046136"
$arResult['MESSAGE']['MEDIA']['MEDIA_ID']
TYPE => string (5) "photo"
$arResult['MESSAGE']['MEDIA']['TYPE']
IS_IMAGE => string (1) "Y"
$arResult['MESSAGE']['MEDIA']['IS_IMAGE']
IS_ROUND => string (1) "N"
$arResult['MESSAGE']['MEDIA']['IS_ROUND']
IS_VIDEO => string (1) "N"
$arResult['MESSAGE']['MEDIA']['IS_VIDEO']
IS_VOICE => string (1) "N"
$arResult['MESSAGE']['MEDIA']['IS_VOICE']
UPDATE_AT => Bitrix\Main\Type\DateTime#593 (2)
$arResult['MESSAGE']['MEDIA']['UPDATE_AT']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#592 2026-05-19 06:41:23 +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']['MEDIA']['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']['MEDIA']['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']['MEDIA']['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']['MEDIA']['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']['MEDIA']['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']['MEDIA']['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']['MEDIA']['UPDATE_AT']->isUserTimeEnabled()
    /**
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
    public disableUserTime(): $this
    $arResult['MESSAGE']['MEDIA']['UPDATE_AT']->disableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
    public enableUserTime(): $this
    $arResult['MESSAGE']['MEDIA']['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']['MEDIA']['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']['MEDIA']['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']['MEDIA']['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']['MEDIA']['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']['MEDIA']['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']['MEDIA']['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']['MEDIA']['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) "19.05.2026 09:41:23"
    (string) $arResult['MESSAGE']['MEDIA']['UPDATE_AT']
DATA => array (5)
$arResult['MESSAGE']['MEDIA']['DATA']
ID => integer 5384352735673046136
$arResult['MESSAGE']['MEDIA']['DATA']['ID']
WIDTH => integer 750
$arResult['MESSAGE']['MEDIA']['DATA']['WIDTH']
HEIGHT => integer 408
$arResult['MESSAGE']['MEDIA']['DATA']['HEIGHT']
RATIO => double 1.84
$arResult['MESSAGE']['MEDIA']['DATA']['RATIO']
DATE => string (25) "2024-02-22T11:37:24+00:00"
$arResult['MESSAGE']['MEDIA']['DATA']['DATE']
ORIGINAL_DATA => array (4)
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']
_ => string (17) "MessageMediaPhoto"
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['_']
photo => array (9)
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']
_ => string (5) "Photo"
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['_']
id => integer 5384352735673046136
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['id']
date => string (25) "2024-02-22T11:37:24+00:00"
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['date']
dc_id => integer 2
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['dc_id']
sizes => array (3)
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes']
0 => array (3)
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][0]
_ => string (17) "PhotoStrippedSize"
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][0]['_']
type => string (1) "i"
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][0]['type']
bytes => string (24) "<binary data length: 97>"
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][0]['bytes']
1 => array (5)
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][1]
_ => string (9) "PhotoSize"
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][1]['_']
h => integer 174
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][1]['h']
w => integer 320
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][1]['w']
size => integer 11937
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][1]['size']
type => string (1) "m"
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][1]['type']
2 => array (5)
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][2]
_ => string (20) "PhotoSizeProgressive"
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][2]['_']
h => integer 408
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][2]['h']
w => integer 750
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][2]['w']
type => string (1) "x"
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][2]['type']
sizes => array (5) Depth Limit
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][2]['sizes']
access_hash => integer -1106289183755001611
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['access_hash']
video_sizes => array (0)
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['video_sizes']
has_stickers => boolean false
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['has_stickers']
file_reference => string (24) "<binary data length: 29>"
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['file_reference']
spoiler => boolean false
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['spoiler']
ttl_seconds => null
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['ttl_seconds']
IS_SPOILER => boolean false
$arResult['MESSAGE']['MEDIA']['IS_SPOILER']
IS_EMBED => boolean false
$arResult['IS_EMBED']
IS_DETAILED => boolean true
$arResult['IS_DETAILED']
avatar
Благословите женщину
@zhenchina11
22.02.2024 16:37
Мужу в санатории для раненых прописали апитерапию - лечение пчелами))) на больное место сажают пчел и они кусают😁

Не знаю, насколько это научно доказано. Я так понимаю, любые процедуры направлены на улучшение кровообращения и восстановление тканей)) но апитерапия - забавно🙈

П.С. Я думала это мракобесие, но муж говорит - помогает!! Кроме ноги у него есть другие ранения, туда тоже пчел сажали. Так вот рубцы стали светлее, кожа эластичнее. Что, в свою очередь, дают увеличивают амплитуду движения.
Видимо, улучшается кровообращение плюс у пчел какие-то полезные вещества в яде🤔 интересно!
👍 132
😁 31
11
36 16 4.6K

Обсуждение 36

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

Обсудить в Telegram