$arResult array (41)
ID => string (10) "1590031061"
$arResult['ID']
2020-05-21T03:17:41+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) "0"
$arResult['MODERATION']
CONFIRMED => string (1) "0"
$arResult['CONFIRMED']
SEO_INDEX => null
$arResult['SEO_INDEX']
SEO_FEED => null
$arResult['SEO_FEED']
NAME => UTF-8 string (27) "Будни педиатра"
$arResult['NAME']
USERNAME => string (9) "aibolit96"
$arResult['USERNAME']
DESCRIPTION => UTF-8 string (55) "Полезные советы для родителей"
$arResult['DESCRIPTION']
DESCRIPTION_LENGTH => string (2) "29"
$arResult['DESCRIPTION_LENGTH']
CREATION => Bitrix\Main\Type\DateTime#465 (2)
$arResult['CREATION']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#464 2022-03-11 03:13:33 +00:00 UTC
    • Methods (17)
    • Static methods (5)
    • Class constants (14)
    protected userTimeEnabled -> boolean true
  • public __construct($time = null, $format = null, ?DateTimeZone $timezone = null)
    new \Bitrix\Main\Type\DateTime()
    /**
     * @param string | null $time String representation of datetime.
     * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture.
     * @param \DateTimeZone | null $timezone Optional timezone object.
     *
     * @throws Main\ObjectException
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
    public toString(?Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.
    $arResult['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) "11.03.2022 06:13:33"
    (string) $arResult['CREATION']
UPDATE_AT => Bitrix\Main\Type\DateTime#463 (2)
$arResult['UPDATE_AT']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#462 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) "1590031061"
$arResult['CHANNEL_ID']
2020-05-21T03:17:41+00:00
CHANNEL_CATEGORY_ID => string (2) "37"
$arResult['CHANNEL_CATEGORY_ID']
CHANNEL_MEGAGROUP => string (1) "0"
$arResult['CHANNEL_MEGAGROUP']
CHANNEL_GIGAGROUP => string (1) "0"
$arResult['CHANNEL_GIGAGROUP']
CHANNEL_SUBSCRIBERS => string (4) "1961"
$arResult['CHANNEL_SUBSCRIBERS']
CHANNEL_CHAT => null
$arResult['CHANNEL_CHAT']
CHANNEL_PTS => string (4) "2541"
$arResult['CHANNEL_PTS']
CHANNEL_PTS_DATE => Bitrix\Main\Type\DateTime#461 (2)
$arResult['CHANNEL_PTS_DATE']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#460 2025-10-17 02:26: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['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) "17.10.2025 05:26:25"
    (string) $arResult['CHANNEL_PTS_DATE']
CHANNEL_UPDATE_AT => Bitrix\Main\Type\DateTime#459 (2)
$arResult['CHANNEL_UPDATE_AT']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#458 2026-05-22 19:09:43 +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 22:09:43"
    (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) "1590031061"
$arResult['PHOTO']['ID']
2020-05-21T03:17:41+00:00
PHOTO_ID => string (19) "5285023533824587190"
$arResult['PHOTO']['PHOTO_ID']
TYPE => string (10) "image/jpeg"
$arResult['PHOTO']['TYPE']
SIZE => string (5) "41364"
$arResult['PHOTO']['SIZE']
WIDTH => string (3) "640"
$arResult['PHOTO']['WIDTH']
HEIGHT => string (3) "640"
$arResult['PHOTO']['HEIGHT']
PATH => string (56) "/upload/tg/user_photo/1590031061_5285023533824587190.jpg"
$arResult['PHOTO']['PATH']
UPDATE_AT => Bitrix\Main\Type\DateTime#455 (2)
$arResult['PHOTO']['UPDATE_AT']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#456 2025-08-09 13:22: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['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) "09.08.2025 16:22:47"
    (string) $arResult['PHOTO']['UPDATE_AT']
MESSAGE => array (23)
$arResult['MESSAGE']
ID => string (6) "303265"
$arResult['MESSAGE']['ID']
CHANNEL_ID => string (10) "1590031061"
$arResult['MESSAGE']['CHANNEL_ID']
2020-05-21T03:17:41+00:00
POST_ID => string (3) "208"
$arResult['MESSAGE']['POST_ID']
GROUP_ID => null
$arResult['MESSAGE']['GROUP_ID']
DATE => Bitrix\Main\Type\DateTime#589 (2)
$arResult['MESSAGE']['DATE']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#588 2022-06-13 15:25:08 +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) "13.06.2022 18:25:08"
    (string) $arResult['MESSAGE']['DATE']
EDIT_DATE => Bitrix\Main\Type\DateTime#587 (2)
$arResult['MESSAGE']['EDIT_DATE']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#586 2025-05-25 05:00:40 +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) "25.05.2025 08:00:40"
    (string) $arResult['MESSAGE']['EDIT_DATE']
AUTHOR_NAME => UTF-8 string (27) "Будни педиатра"
$arResult['MESSAGE']['AUTHOR_NAME']
AUTHOR_DATA => array (3)
$arResult['MESSAGE']['AUTHOR_DATA']
id => integer 1590031061
$arResult['MESSAGE']['AUTHOR_DATA']['id']
2020-05-21T03:17:41+00:00
name => UTF-8 string (27) "Будни педиатра"
$arResult['MESSAGE']['AUTHOR_DATA']['name']
username => string (9) "aibolit96"
$arResult['MESSAGE']['AUTHOR_DATA']['username']
CODE => string (63) "svetodiodnaya-soska-profilaktika-i-lechenie-virusnykh-infektsiy"
$arResult['MESSAGE']['CODE']
VIEWS => string (4) "2966"
$arResult['MESSAGE']['VIEWS']
FORWARDS => string (1) "8"
$arResult['MESSAGE']['FORWARDS']
COMMENTS => string (1) "0"
$arResult['MESSAGE']['COMMENTS']
REPLY_TO => null
$arResult['MESSAGE']['REPLY_TO']
FWD_FROM => array (0)
$arResult['MESSAGE']['FWD_FROM']
REACTIONS => array (1)
$arResult['MESSAGE']['REACTIONS']
0 => array (5)
$arResult['MESSAGE']['REACTIONS'][0]
hex => string (8) "F09F94A5"
$arResult['MESSAGE']['REACTIONS'][0]['hex']
html => string (102) "<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/F0...
$arResult['MESSAGE']['REACTIONS'][0]['html']
<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/F09F94A5.png')"><b>?</b></i>
count => integer 3
$arResult['MESSAGE']['REACTIONS'][0]['count']
emoji => null
$arResult['MESSAGE']['REACTIONS'][0]['emoji']
reaction => string (1) "?"
$arResult['MESSAGE']['REACTIONS'][0]['reaction']
LANG_CODE => string (2) "ru"
$arResult['MESSAGE']['LANG_CODE']
MESSAGE_LENGTH => string (3) "201"
$arResult['MESSAGE']['MESSAGE_LENGTH']
SCORE => string (2) "85"
$arResult['MESSAGE']['SCORE']
SCORE_UPDATED_AT => Bitrix\Main\Type\DateTime#585 (2)
$arResult['MESSAGE']['SCORE_UPDATED_AT']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#584 2026-04-27 11:08:26 +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:08:26"
    (string) $arResult['MESSAGE']['SCORE_UPDATED_AT']
UPDATE_AT => Bitrix\Main\Type\DateTime#583 (2)
$arResult['MESSAGE']['UPDATE_AT']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#582 2026-05-12 13:23:20 +00:00 UTC
    • Methods (17)
    • Static methods (5)
    • Class constants (14)
    protected userTimeEnabled -> boolean true
  • public __construct($time = null, $format = null, ?DateTimeZone $timezone = null)
    new \Bitrix\Main\Type\DateTime()
    /**
     * @param string | null $time String representation of datetime.
     * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture.
     * @param \DateTimeZone | null $timezone Optional timezone object.
     *
     * @throws Main\ObjectException
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
    public toString(?Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.
    $arResult['MESSAGE']['UPDATE_AT']->toString()
    /**
     * Converts date to string, using Culture and global timezone settings.
     *
     * @param Context\Culture | null $culture Culture contains datetime format.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:86
    public getTimeZone(): \DateTimeZone Returns timezone object.
    $arResult['MESSAGE']['UPDATE_AT']->getTimeZone()
    /**
     * Returns timezone object.
     *
     * @return \DateTimeZone
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
    public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.
    $arResult['MESSAGE']['UPDATE_AT']->setTimeZone()
    /**
     * Sets timezone object.
     *
     * @param \DateTimeZone $timezone Timezone object.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:118
    public setDefaultTimeZone(): DateTime Sets default timezone.
    $arResult['MESSAGE']['UPDATE_AT']->setDefaultTimeZone()
    /**
     * Sets default timezone.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
    public setTime($hour, $minute, $second = 0, $microseconds = 0): DateTime
    $arResult['MESSAGE']['UPDATE_AT']->setTime()
    /**
     * @param int $hour Hour value.
     * @param int $minute Minute value.
     * @param int $second Second value.
     * @param int $microseconds Microseconds value.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:144
    public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.
    $arResult['MESSAGE']['UPDATE_AT']->toUserTime()
    /**
     * Changes time from server time to user time using global timezone settings.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:155
    public isUserTimeEnabled(): bool
    $arResult['MESSAGE']['UPDATE_AT']->isUserTimeEnabled()
    /**
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
    public disableUserTime(): $this
    $arResult['MESSAGE']['UPDATE_AT']->disableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
    public enableUserTime(): $this
    $arResult['MESSAGE']['UPDATE_AT']->enableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
    protected parse($format, $time): array|bool
    /**
     * @param string $format
     * @param string $time
     * @return array|bool
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:53
    public format($format): string Formats date value to string.
    $arResult['MESSAGE']['UPDATE_AT']->format()
    /**
     * Formats date value to string.
     *
     * @param string $format PHP date format.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:110
    public __clone(): void Produces the copy of the object.
    clone $arResult['MESSAGE']['UPDATE_AT']
    /**
     * Produces the copy of the object.
     *
     * @return void
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:120
    public add($interval): $this Performs dates arithmetic.
    $arResult['MESSAGE']['UPDATE_AT']->add()
    /**
     * Performs dates arithmetic.
     *
     * Each duration period is represented by an integer value followed by a period
     * designator. If the duration contains time elements, that portion of the
     * specification is preceded by the letter T.
     * Period Designators: Y - years, M - months, D - days, W - weeks, H - hours,
     * M - minutes, S - seconds.
     * Examples: two days - 2D, two seconds - T2S, six years and five minutes - 6YT5M.
     * The unit types must be entered from the largest scale unit on the left to the
     * smallest scale unit on the right.
     * Use first "-" char for negative periods.
     * OR
     * Relative period.
     * Examples: "+5 weeks", "12 day", "-7 weekdays", '3 months - 5 days'
     *
     * @param string $interval Time interval to add.
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:145
    public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.
    $arResult['MESSAGE']['UPDATE_AT']->setDate()
    /**
     * Sets the current date of the DateTime object to a different date.
     * @param int $year
     * @param int $month
     * @param int $day
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:169
    public getTimestamp(): int Returns Unix timestamp from date.
    $arResult['MESSAGE']['UPDATE_AT']->getTimestamp()
    /**
     * Returns Unix timestamp from date.
     *
     * @return int
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:218
    public getDiff(Bitrix\Main\Type\Date $time): \DateInterval Returns difference between dates.
    $arResult['MESSAGE']['UPDATE_AT']->getDiff()
    /**
     * Returns difference between dates.
     *
     * @param Date $time
     * @return \DateInterval
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:229
    public __toString(): string Converts a date to the string with default culture format setting.
    (string) $arResult['MESSAGE']['UPDATE_AT']
    /**
     * Converts a date to the string with default culture format setting.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:252
    private Bitrix\Main\Type\Date::tryToCreateIntervalByDesignators($interval)
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:176
  • public static Bitrix\Main\Type\DateTime::secondsToOffset($seconds, $delimiter = '')
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
    public static Bitrix\Main\Type\DateTime::createFromUserTime($timeString): DateTime Creates DateTime object from local user time using global timezone settings a...
    /**
     * Creates DateTime object from local user time using global timezone settings and default culture.
     *
     * @param string $timeString Full or short formatted time.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:180
    protected static Bitrix\Main\Type\DateTime::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns long (including time) date culture format.
    /**
     * Returns long (including time) date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:216
    public static Bitrix\Main\Type\DateTime::createFromPhp(DateTime $datetime): static Creates DateTime object from PHP \DateTime object.
    /**
     * Creates DateTime object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:232
    public static Bitrix\Main\Type\DateTime::createFromTimestamp($timestamp): static Creates DateTime object from Unix timestamp.
    /**
     * Creates DateTime object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:246
    public static Bitrix\Main\Type\DateTime::tryParse($timeString, $format = null): DateTime|null Creates DateTime object from string. NULL will be returned on failure.
    /**
     * Creates DateTime object from string.
     * NULL will be returned on failure.
     * @param string $timeString Full formatted time.
     * @param string $format PHP datetime format. If not specified, the format is got from the current culture.
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:260
    public static Bitrix\Main\Type\Date::getFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns a date format from the culture in the php format.
    /**
     * Returns a date format from the culture in the php format.
     *
     * @param Context\Culture | null $culture Optional culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:264
    public static Bitrix\Main\Type\Date::convertFormatToPhp($format): string Converts date format from culture to php format.
    /**
     * Converts date format from culture to php format.
     *
     * @param string $format Format string.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:309
    public static Bitrix\Main\Type\Date::isCorrect($time, $format = null): bool Checks the string for correct date (by trying to create Date object).
    /**
     * Checks the string for correct date (by trying to create Date object).
     *
     * @param string $time String representation of date.
     * @param string $format PHP date format. If not specified, the format is got from the current culture.
     *
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:359
    public static Bitrix\Main\Type\Date::createFromText($text): DateTime|null Creates Date object from Text (return array of result object) Examples: "end ...
    /**
     * Creates Date object from Text (return array of result object)
     * Examples: "end of next week", "tomorrow morning", "friday 25.10"
     *
     * @param string $text
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:417
    protected static Bitrix\Main\Type\Date::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns short date culture format.
    /**
     * Returns short date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:293
    public static Bitrix\Main\Type\Date::createFromPhp(DateTime $datetime): static Creates Date object from PHP \DateTime object.
    /**
     * Creates Date object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:387
    public static Bitrix\Main\Type\Date::createFromTimestamp($timestamp): static Creates Date object from Unix timestamp.
    /**
     * Creates Date object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:402
  • UPDATE_AT string (19) "12.05.2026 16:23:20"
    (string) $arResult['MESSAGE']['UPDATE_AT']
MESSAGE => UTF-8 string (366) "Светодиодная соска. Профилактика и лечение вирусных инфекций у грудничков. Е...
$arResult['MESSAGE']['MESSAGE']
Светодиодная соска. Профилактика и лечение вирусных инфекций у грудничков. 
Есть несколько производителей.
Ангину не вылечит, но с вирусами борется нормально.

? Навигация:
#уход_за_ребёнком
#лекарства
MESSAGE_HTML => UTF-8 string (391) "Светодиодная соска. Профилактика и лечение вирусных инфекций у грудничков. <...
$arResult['MESSAGE']['MESSAGE_HTML']
Светодиодная соска. Профилактика и лечение вирусных инфекций у грудничков. <br>
Есть несколько производителей.<br>
Ангину не вылечит, но с вирусами борется нормально.<br>
<br>
?? Навигация:<br>
#уход_за_ребёнком<br>
#лекарства
MEDIA => array (13)
$arResult['MESSAGE']['MEDIA']
ID => string (6) "303265"
$arResult['MESSAGE']['MEDIA']['ID']
CHANNEL_ID => string (10) "1590031061"
$arResult['MESSAGE']['MEDIA']['CHANNEL_ID']
2020-05-21T03:17:41+00:00
POST_ID => string (3) "208"
$arResult['MESSAGE']['MEDIA']['POST_ID']
MEDIA_ID => string (19) "5278307854241086422"
$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#581 (2)
$arResult['MESSAGE']['MEDIA']['UPDATE_AT']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#580 2025-10-17 02:26: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']['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) "17.10.2025 05:26:24"
    (string) $arResult['MESSAGE']['MEDIA']['UPDATE_AT']
DATA => array (5)
$arResult['MESSAGE']['MEDIA']['DATA']
ID => integer 5278307854241086422
$arResult['MESSAGE']['MEDIA']['DATA']['ID']
WIDTH => integer 1078
$arResult['MESSAGE']['MEDIA']['DATA']['WIDTH']
HEIGHT => integer 1002
$arResult['MESSAGE']['MEDIA']['DATA']['HEIGHT']
RATIO => double 1.08
$arResult['MESSAGE']['MEDIA']['DATA']['RATIO']
DATE => string (25) "2022-06-13T12:25:08+00:00"
$arResult['MESSAGE']['MEDIA']['DATA']['DATE']
ORIGINAL_DATA => array (3)
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']
photo => array (8)
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']
id => integer 5278307854241086422
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['id']
date => string (25) "2022-06-13T12:25:08+00:00"
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['date']
dc_id => integer 2
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['dc_id']
sizes => array (4)
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes']
0 => array (2)
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][0]
type => string (1) "i"
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][0]['type']
bytes => string (25) "<binary data length: 172>"
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][0]['bytes']
1 => array (4)
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][1]
h => integer 298
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][1]['h']
w => integer 320
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][1]['w']
size => integer 13245
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][1]['size']
type => string (1) "m"
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][1]['type']
2 => array (4)
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][2]
h => integer 744
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][2]['h']
w => integer 800
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][2]['w']
size => integer 48283
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][2]['size']
type => string (1) "x"
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][2]['type']
3 => array (4)
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][3]
h => integer 1002
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][3]['h']
w => integer 1078
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][3]['w']
type => string (1) "y"
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][3]['type']
sizes => array (5) Depth Limit
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['sizes'][3]['sizes']
access_hash => integer 826817331890206311
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['photo']['access_hash']
video_sizes => null
$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
Будни педиатра
@aibolit96
13.06.2022 15:25
Светодиодная соска. Профилактика и лечение вирусных инфекций у грудничков.
Есть несколько производителей.
Ангину не вылечит, но с вирусами борется нормально.

?? Навигация:
#уход_за_ребёнком
#лекарства
? 3
8 3K

Обсуждение 0

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

Обсудить в Telegram