$arResult array (41)
ID => string (10) "1474888668"
$arResult['ID']
2016-09-26T11:17:48+00:00
TYPE => string (7) "channel"
$arResult['TYPE']
SCAM => string (1) "0"
$arResult['SCAM']
FAKE => string (1) "0"
$arResult['FAKE']
RESTRICTED => string (1) "0"
$arResult['RESTRICTED']
RESTRICTION_REASON => array (0)
$arResult['RESTRICTION_REASON']
PREMIUM => string (1) "0"
$arResult['PREMIUM']
VERIFIED => string (1) "0"
$arResult['VERIFIED']
PRIVATE => string (1) "0"
$arResult['PRIVATE']
BANNED => string (1) "0"
$arResult['BANNED']
BLOCKED => string (1) "0"
$arResult['BLOCKED']
MODERATION => string (1) "2"
$arResult['MODERATION']
CONFIRMED => string (1) "0"
$arResult['CONFIRMED']
SEO_INDEX => null
$arResult['SEO_INDEX']
SEO_FEED => null
$arResult['SEO_FEED']
NAME => UTF-8 string (36) "Психология🧠 Psihologium"
$arResult['NAME']
Психология🧠 Psihologium
USERNAME => string (11) "psihologium"
$arResult['USERNAME']
DESCRIPTION => UTF-8 string (199) "Доступно о сложном. Научно о простом. ✔️Авторские статьи и действующие практ...
$arResult['DESCRIPTION']
Доступно о сложном. Научно о простом.

✔️Авторские статьи и действующие практики.

По всем вопросам: @psihologiumbot
DESCRIPTION_LENGTH => string (1) "0"
$arResult['DESCRIPTION_LENGTH']
CREATION => Bitrix\Main\Type\DateTime#464 (2)
$arResult['CREATION']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#463 2019-01-01 18:14:50 +00:00 UTC
    • Methods (17)
    • Static methods (5)
    • Class constants (14)
    protected userTimeEnabled -> boolean true
  • public __construct($time = null, $format = null, ?DateTimeZone $timezone = null)
    new \Bitrix\Main\Type\DateTime()
    /**
     * @param string | null $time String representation of datetime.
     * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture.
     * @param \DateTimeZone | null $timezone Optional timezone object.
     *
     * @throws Main\ObjectException
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
    public toString(?Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.
    $arResult['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) "01.01.2019 21:14:50"
    (string) $arResult['CREATION']
UPDATE_AT => Bitrix\Main\Type\DateTime#462 (2)
$arResult['UPDATE_AT']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#461 2026-05-21 13:03:59 +00:00 UTC
    • Methods (17)
    • Static methods (5)
    • Class constants (14)
    protected userTimeEnabled -> boolean true
  • public __construct($time = null, $format = null, ?DateTimeZone $timezone = null)
    new \Bitrix\Main\Type\DateTime()
    /**
     * @param string | null $time String representation of datetime.
     * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture.
     * @param \DateTimeZone | null $timezone Optional timezone object.
     *
     * @throws Main\ObjectException
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
    public toString(?Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.
    $arResult['UPDATE_AT']->toString()
    /**
     * Converts date to string, using Culture and global timezone settings.
     *
     * @param Context\Culture | null $culture Culture contains datetime format.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:86
    public getTimeZone(): \DateTimeZone Returns timezone object.
    $arResult['UPDATE_AT']->getTimeZone()
    /**
     * Returns timezone object.
     *
     * @return \DateTimeZone
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
    public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.
    $arResult['UPDATE_AT']->setTimeZone()
    /**
     * Sets timezone object.
     *
     * @param \DateTimeZone $timezone Timezone object.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:118
    public setDefaultTimeZone(): DateTime Sets default timezone.
    $arResult['UPDATE_AT']->setDefaultTimeZone()
    /**
     * Sets default timezone.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
    public setTime($hour, $minute, $second = 0, $microseconds = 0): DateTime
    $arResult['UPDATE_AT']->setTime()
    /**
     * @param int $hour Hour value.
     * @param int $minute Minute value.
     * @param int $second Second value.
     * @param int $microseconds Microseconds value.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:144
    public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.
    $arResult['UPDATE_AT']->toUserTime()
    /**
     * Changes time from server time to user time using global timezone settings.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:155
    public isUserTimeEnabled(): bool
    $arResult['UPDATE_AT']->isUserTimeEnabled()
    /**
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
    public disableUserTime(): $this
    $arResult['UPDATE_AT']->disableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
    public enableUserTime(): $this
    $arResult['UPDATE_AT']->enableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
    protected parse($format, $time): array|bool
    /**
     * @param string $format
     * @param string $time
     * @return array|bool
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:53
    public format($format): string Formats date value to string.
    $arResult['UPDATE_AT']->format()
    /**
     * Formats date value to string.
     *
     * @param string $format PHP date format.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:110
    public __clone(): void Produces the copy of the object.
    clone $arResult['UPDATE_AT']
    /**
     * Produces the copy of the object.
     *
     * @return void
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:120
    public add($interval): $this Performs dates arithmetic.
    $arResult['UPDATE_AT']->add()
    /**
     * Performs dates arithmetic.
     *
     * Each duration period is represented by an integer value followed by a period
     * designator. If the duration contains time elements, that portion of the
     * specification is preceded by the letter T.
     * Period Designators: Y - years, M - months, D - days, W - weeks, H - hours,
     * M - minutes, S - seconds.
     * Examples: two days - 2D, two seconds - T2S, six years and five minutes - 6YT5M.
     * The unit types must be entered from the largest scale unit on the left to the
     * smallest scale unit on the right.
     * Use first "-" char for negative periods.
     * OR
     * Relative period.
     * Examples: "+5 weeks", "12 day", "-7 weekdays", '3 months - 5 days'
     *
     * @param string $interval Time interval to add.
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:145
    public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.
    $arResult['UPDATE_AT']->setDate()
    /**
     * Sets the current date of the DateTime object to a different date.
     * @param int $year
     * @param int $month
     * @param int $day
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:169
    public getTimestamp(): int Returns Unix timestamp from date.
    $arResult['UPDATE_AT']->getTimestamp()
    /**
     * Returns Unix timestamp from date.
     *
     * @return int
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:218
    public getDiff(Bitrix\Main\Type\Date $time): \DateInterval Returns difference between dates.
    $arResult['UPDATE_AT']->getDiff()
    /**
     * Returns difference between dates.
     *
     * @param Date $time
     * @return \DateInterval
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:229
    public __toString(): string Converts a date to the string with default culture format setting.
    (string) $arResult['UPDATE_AT']
    /**
     * Converts a date to the string with default culture format setting.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:252
    private Bitrix\Main\Type\Date::tryToCreateIntervalByDesignators($interval)
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:176
  • public static Bitrix\Main\Type\DateTime::secondsToOffset($seconds, $delimiter = '')
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
    public static Bitrix\Main\Type\DateTime::createFromUserTime($timeString): DateTime Creates DateTime object from local user time using global timezone settings a...
    /**
     * Creates DateTime object from local user time using global timezone settings and default culture.
     *
     * @param string $timeString Full or short formatted time.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:180
    protected static Bitrix\Main\Type\DateTime::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns long (including time) date culture format.
    /**
     * Returns long (including time) date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:216
    public static Bitrix\Main\Type\DateTime::createFromPhp(DateTime $datetime): static Creates DateTime object from PHP \DateTime object.
    /**
     * Creates DateTime object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:232
    public static Bitrix\Main\Type\DateTime::createFromTimestamp($timestamp): static Creates DateTime object from Unix timestamp.
    /**
     * Creates DateTime object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:246
    public static Bitrix\Main\Type\DateTime::tryParse($timeString, $format = null): DateTime|null Creates DateTime object from string. NULL will be returned on failure.
    /**
     * Creates DateTime object from string.
     * NULL will be returned on failure.
     * @param string $timeString Full formatted time.
     * @param string $format PHP datetime format. If not specified, the format is got from the current culture.
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:260
    public static Bitrix\Main\Type\Date::getFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns a date format from the culture in the php format.
    /**
     * Returns a date format from the culture in the php format.
     *
     * @param Context\Culture | null $culture Optional culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:264
    public static Bitrix\Main\Type\Date::convertFormatToPhp($format): string Converts date format from culture to php format.
    /**
     * Converts date format from culture to php format.
     *
     * @param string $format Format string.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:309
    public static Bitrix\Main\Type\Date::isCorrect($time, $format = null): bool Checks the string for correct date (by trying to create Date object).
    /**
     * Checks the string for correct date (by trying to create Date object).
     *
     * @param string $time String representation of date.
     * @param string $format PHP date format. If not specified, the format is got from the current culture.
     *
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:359
    public static Bitrix\Main\Type\Date::createFromText($text): DateTime|null Creates Date object from Text (return array of result object) Examples: "end ...
    /**
     * Creates Date object from Text (return array of result object)
     * Examples: "end of next week", "tomorrow morning", "friday 25.10"
     *
     * @param string $text
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:417
    protected static Bitrix\Main\Type\Date::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns short date culture format.
    /**
     * Returns short date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:293
    public static Bitrix\Main\Type\Date::createFromPhp(DateTime $datetime): static Creates Date object from PHP \DateTime object.
    /**
     * Creates Date object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:387
    public static Bitrix\Main\Type\Date::createFromTimestamp($timestamp): static Creates Date object from Unix timestamp.
    /**
     * Creates Date object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:402
  • UPDATE_AT string (19) "21.05.2026 16:03:59"
    (string) $arResult['UPDATE_AT']
CHANNEL_ID => string (10) "1474888668"
$arResult['CHANNEL_ID']
2016-09-26T11:17:48+00:00
CHANNEL_CATEGORY_ID => null
$arResult['CHANNEL_CATEGORY_ID']
CHANNEL_MEGAGROUP => string (1) "0"
$arResult['CHANNEL_MEGAGROUP']
CHANNEL_GIGAGROUP => string (1) "0"
$arResult['CHANNEL_GIGAGROUP']
CHANNEL_SUBSCRIBERS => string (4) "1713"
$arResult['CHANNEL_SUBSCRIBERS']
CHANNEL_CHAT => null
$arResult['CHANNEL_CHAT']
CHANNEL_PTS => string (4) "7173"
$arResult['CHANNEL_PTS']
CHANNEL_PTS_DATE => Bitrix\Main\Type\DateTime#460 (2)
$arResult['CHANNEL_PTS_DATE']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#459 2025-12-23 05:24: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['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) "23.12.2025 08:24:33"
    (string) $arResult['CHANNEL_PTS_DATE']
CHANNEL_UPDATE_AT => Bitrix\Main\Type\DateTime#458 (2)
$arResult['CHANNEL_UPDATE_AT']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#457 2026-05-21 13:03:59 +00:00 UTC
    • Methods (17)
    • Static methods (5)
    • Class constants (14)
    protected userTimeEnabled -> boolean true
  • public __construct($time = null, $format = null, ?DateTimeZone $timezone = null)
    new \Bitrix\Main\Type\DateTime()
    /**
     * @param string | null $time String representation of datetime.
     * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture.
     * @param \DateTimeZone | null $timezone Optional timezone object.
     *
     * @throws Main\ObjectException
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
    public toString(?Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.
    $arResult['CHANNEL_UPDATE_AT']->toString()
    /**
     * Converts date to string, using Culture and global timezone settings.
     *
     * @param Context\Culture | null $culture Culture contains datetime format.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:86
    public getTimeZone(): \DateTimeZone Returns timezone object.
    $arResult['CHANNEL_UPDATE_AT']->getTimeZone()
    /**
     * Returns timezone object.
     *
     * @return \DateTimeZone
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
    public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.
    $arResult['CHANNEL_UPDATE_AT']->setTimeZone()
    /**
     * Sets timezone object.
     *
     * @param \DateTimeZone $timezone Timezone object.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:118
    public setDefaultTimeZone(): DateTime Sets default timezone.
    $arResult['CHANNEL_UPDATE_AT']->setDefaultTimeZone()
    /**
     * Sets default timezone.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
    public setTime($hour, $minute, $second = 0, $microseconds = 0): DateTime
    $arResult['CHANNEL_UPDATE_AT']->setTime()
    /**
     * @param int $hour Hour value.
     * @param int $minute Minute value.
     * @param int $second Second value.
     * @param int $microseconds Microseconds value.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:144
    public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.
    $arResult['CHANNEL_UPDATE_AT']->toUserTime()
    /**
     * Changes time from server time to user time using global timezone settings.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:155
    public isUserTimeEnabled(): bool
    $arResult['CHANNEL_UPDATE_AT']->isUserTimeEnabled()
    /**
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
    public disableUserTime(): $this
    $arResult['CHANNEL_UPDATE_AT']->disableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
    public enableUserTime(): $this
    $arResult['CHANNEL_UPDATE_AT']->enableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
    protected parse($format, $time): array|bool
    /**
     * @param string $format
     * @param string $time
     * @return array|bool
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:53
    public format($format): string Formats date value to string.
    $arResult['CHANNEL_UPDATE_AT']->format()
    /**
     * Formats date value to string.
     *
     * @param string $format PHP date format.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:110
    public __clone(): void Produces the copy of the object.
    clone $arResult['CHANNEL_UPDATE_AT']
    /**
     * Produces the copy of the object.
     *
     * @return void
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:120
    public add($interval): $this Performs dates arithmetic.
    $arResult['CHANNEL_UPDATE_AT']->add()
    /**
     * Performs dates arithmetic.
     *
     * Each duration period is represented by an integer value followed by a period
     * designator. If the duration contains time elements, that portion of the
     * specification is preceded by the letter T.
     * Period Designators: Y - years, M - months, D - days, W - weeks, H - hours,
     * M - minutes, S - seconds.
     * Examples: two days - 2D, two seconds - T2S, six years and five minutes - 6YT5M.
     * The unit types must be entered from the largest scale unit on the left to the
     * smallest scale unit on the right.
     * Use first "-" char for negative periods.
     * OR
     * Relative period.
     * Examples: "+5 weeks", "12 day", "-7 weekdays", '3 months - 5 days'
     *
     * @param string $interval Time interval to add.
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:145
    public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.
    $arResult['CHANNEL_UPDATE_AT']->setDate()
    /**
     * Sets the current date of the DateTime object to a different date.
     * @param int $year
     * @param int $month
     * @param int $day
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:169
    public getTimestamp(): int Returns Unix timestamp from date.
    $arResult['CHANNEL_UPDATE_AT']->getTimestamp()
    /**
     * Returns Unix timestamp from date.
     *
     * @return int
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:218
    public getDiff(Bitrix\Main\Type\Date $time): \DateInterval Returns difference between dates.
    $arResult['CHANNEL_UPDATE_AT']->getDiff()
    /**
     * Returns difference between dates.
     *
     * @param Date $time
     * @return \DateInterval
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:229
    public __toString(): string Converts a date to the string with default culture format setting.
    (string) $arResult['CHANNEL_UPDATE_AT']
    /**
     * Converts a date to the string with default culture format setting.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:252
    private Bitrix\Main\Type\Date::tryToCreateIntervalByDesignators($interval)
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:176
  • public static Bitrix\Main\Type\DateTime::secondsToOffset($seconds, $delimiter = '')
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
    public static Bitrix\Main\Type\DateTime::createFromUserTime($timeString): DateTime Creates DateTime object from local user time using global timezone settings a...
    /**
     * Creates DateTime object from local user time using global timezone settings and default culture.
     *
     * @param string $timeString Full or short formatted time.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:180
    protected static Bitrix\Main\Type\DateTime::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns long (including time) date culture format.
    /**
     * Returns long (including time) date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:216
    public static Bitrix\Main\Type\DateTime::createFromPhp(DateTime $datetime): static Creates DateTime object from PHP \DateTime object.
    /**
     * Creates DateTime object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:232
    public static Bitrix\Main\Type\DateTime::createFromTimestamp($timestamp): static Creates DateTime object from Unix timestamp.
    /**
     * Creates DateTime object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:246
    public static Bitrix\Main\Type\DateTime::tryParse($timeString, $format = null): DateTime|null Creates DateTime object from string. NULL will be returned on failure.
    /**
     * Creates DateTime object from string.
     * NULL will be returned on failure.
     * @param string $timeString Full formatted time.
     * @param string $format PHP datetime format. If not specified, the format is got from the current culture.
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:260
    public static Bitrix\Main\Type\Date::getFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns a date format from the culture in the php format.
    /**
     * Returns a date format from the culture in the php format.
     *
     * @param Context\Culture | null $culture Optional culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:264
    public static Bitrix\Main\Type\Date::convertFormatToPhp($format): string Converts date format from culture to php format.
    /**
     * Converts date format from culture to php format.
     *
     * @param string $format Format string.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:309
    public static Bitrix\Main\Type\Date::isCorrect($time, $format = null): bool Checks the string for correct date (by trying to create Date object).
    /**
     * Checks the string for correct date (by trying to create Date object).
     *
     * @param string $time String representation of date.
     * @param string $format PHP date format. If not specified, the format is got from the current culture.
     *
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:359
    public static Bitrix\Main\Type\Date::createFromText($text): DateTime|null Creates Date object from Text (return array of result object) Examples: "end ...
    /**
     * Creates Date object from Text (return array of result object)
     * Examples: "end of next week", "tomorrow morning", "friday 25.10"
     *
     * @param string $text
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:417
    protected static Bitrix\Main\Type\Date::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns short date culture format.
    /**
     * Returns short date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:293
    public static Bitrix\Main\Type\Date::createFromPhp(DateTime $datetime): static Creates Date object from PHP \DateTime object.
    /**
     * Creates Date object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:387
    public static Bitrix\Main\Type\Date::createFromTimestamp($timestamp): static Creates Date object from Unix timestamp.
    /**
     * Creates Date object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:402
  • CHANNEL_UPDATE_AT string (19) "21.05.2026 16:03:59"
    (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) "1474888668"
$arResult['PHOTO']['ID']
2016-09-26T11:17:48+00:00
PHOTO_ID => string (19) "5445367848533863673"
$arResult['PHOTO']['PHOTO_ID']
TYPE => string (10) "image/jpeg"
$arResult['PHOTO']['TYPE']
SIZE => string (5) "34837"
$arResult['PHOTO']['SIZE']
WIDTH => string (3) "640"
$arResult['PHOTO']['WIDTH']
HEIGHT => string (3) "640"
$arResult['PHOTO']['HEIGHT']
PATH => string (56) "/upload/tg/user_photo/1474888668_5445367848533863673.jpg"
$arResult['PHOTO']['PATH']
UPDATE_AT => Bitrix\Main\Type\DateTime#454 (2)
$arResult['PHOTO']['UPDATE_AT']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#455 2026-03-24 12:35:10 +00:00 UTC
    • Methods (17)
    • Static methods (5)
    • Class constants (14)
    protected userTimeEnabled -> boolean true
  • public __construct($time = null, $format = null, ?DateTimeZone $timezone = null)
    new \Bitrix\Main\Type\DateTime()
    /**
     * @param string | null $time String representation of datetime.
     * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture.
     * @param \DateTimeZone | null $timezone Optional timezone object.
     *
     * @throws Main\ObjectException
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
    public toString(?Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.
    $arResult['PHOTO']['UPDATE_AT']->toString()
    /**
     * Converts date to string, using Culture and global timezone settings.
     *
     * @param Context\Culture | null $culture Culture contains datetime format.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:86
    public getTimeZone(): \DateTimeZone Returns timezone object.
    $arResult['PHOTO']['UPDATE_AT']->getTimeZone()
    /**
     * Returns timezone object.
     *
     * @return \DateTimeZone
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
    public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.
    $arResult['PHOTO']['UPDATE_AT']->setTimeZone()
    /**
     * Sets timezone object.
     *
     * @param \DateTimeZone $timezone Timezone object.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:118
    public setDefaultTimeZone(): DateTime Sets default timezone.
    $arResult['PHOTO']['UPDATE_AT']->setDefaultTimeZone()
    /**
     * Sets default timezone.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
    public setTime($hour, $minute, $second = 0, $microseconds = 0): DateTime
    $arResult['PHOTO']['UPDATE_AT']->setTime()
    /**
     * @param int $hour Hour value.
     * @param int $minute Minute value.
     * @param int $second Second value.
     * @param int $microseconds Microseconds value.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:144
    public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.
    $arResult['PHOTO']['UPDATE_AT']->toUserTime()
    /**
     * Changes time from server time to user time using global timezone settings.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:155
    public isUserTimeEnabled(): bool
    $arResult['PHOTO']['UPDATE_AT']->isUserTimeEnabled()
    /**
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
    public disableUserTime(): $this
    $arResult['PHOTO']['UPDATE_AT']->disableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
    public enableUserTime(): $this
    $arResult['PHOTO']['UPDATE_AT']->enableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
    protected parse($format, $time): array|bool
    /**
     * @param string $format
     * @param string $time
     * @return array|bool
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:53
    public format($format): string Formats date value to string.
    $arResult['PHOTO']['UPDATE_AT']->format()
    /**
     * Formats date value to string.
     *
     * @param string $format PHP date format.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:110
    public __clone(): void Produces the copy of the object.
    clone $arResult['PHOTO']['UPDATE_AT']
    /**
     * Produces the copy of the object.
     *
     * @return void
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:120
    public add($interval): $this Performs dates arithmetic.
    $arResult['PHOTO']['UPDATE_AT']->add()
    /**
     * Performs dates arithmetic.
     *
     * Each duration period is represented by an integer value followed by a period
     * designator. If the duration contains time elements, that portion of the
     * specification is preceded by the letter T.
     * Period Designators: Y - years, M - months, D - days, W - weeks, H - hours,
     * M - minutes, S - seconds.
     * Examples: two days - 2D, two seconds - T2S, six years and five minutes - 6YT5M.
     * The unit types must be entered from the largest scale unit on the left to the
     * smallest scale unit on the right.
     * Use first "-" char for negative periods.
     * OR
     * Relative period.
     * Examples: "+5 weeks", "12 day", "-7 weekdays", '3 months - 5 days'
     *
     * @param string $interval Time interval to add.
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:145
    public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.
    $arResult['PHOTO']['UPDATE_AT']->setDate()
    /**
     * Sets the current date of the DateTime object to a different date.
     * @param int $year
     * @param int $month
     * @param int $day
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:169
    public getTimestamp(): int Returns Unix timestamp from date.
    $arResult['PHOTO']['UPDATE_AT']->getTimestamp()
    /**
     * Returns Unix timestamp from date.
     *
     * @return int
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:218
    public getDiff(Bitrix\Main\Type\Date $time): \DateInterval Returns difference between dates.
    $arResult['PHOTO']['UPDATE_AT']->getDiff()
    /**
     * Returns difference between dates.
     *
     * @param Date $time
     * @return \DateInterval
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:229
    public __toString(): string Converts a date to the string with default culture format setting.
    (string) $arResult['PHOTO']['UPDATE_AT']
    /**
     * Converts a date to the string with default culture format setting.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:252
    private Bitrix\Main\Type\Date::tryToCreateIntervalByDesignators($interval)
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:176
  • public static Bitrix\Main\Type\DateTime::secondsToOffset($seconds, $delimiter = '')
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
    public static Bitrix\Main\Type\DateTime::createFromUserTime($timeString): DateTime Creates DateTime object from local user time using global timezone settings a...
    /**
     * Creates DateTime object from local user time using global timezone settings and default culture.
     *
     * @param string $timeString Full or short formatted time.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:180
    protected static Bitrix\Main\Type\DateTime::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns long (including time) date culture format.
    /**
     * Returns long (including time) date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:216
    public static Bitrix\Main\Type\DateTime::createFromPhp(DateTime $datetime): static Creates DateTime object from PHP \DateTime object.
    /**
     * Creates DateTime object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:232
    public static Bitrix\Main\Type\DateTime::createFromTimestamp($timestamp): static Creates DateTime object from Unix timestamp.
    /**
     * Creates DateTime object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:246
    public static Bitrix\Main\Type\DateTime::tryParse($timeString, $format = null): DateTime|null Creates DateTime object from string. NULL will be returned on failure.
    /**
     * Creates DateTime object from string.
     * NULL will be returned on failure.
     * @param string $timeString Full formatted time.
     * @param string $format PHP datetime format. If not specified, the format is got from the current culture.
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:260
    public static Bitrix\Main\Type\Date::getFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns a date format from the culture in the php format.
    /**
     * Returns a date format from the culture in the php format.
     *
     * @param Context\Culture | null $culture Optional culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:264
    public static Bitrix\Main\Type\Date::convertFormatToPhp($format): string Converts date format from culture to php format.
    /**
     * Converts date format from culture to php format.
     *
     * @param string $format Format string.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:309
    public static Bitrix\Main\Type\Date::isCorrect($time, $format = null): bool Checks the string for correct date (by trying to create Date object).
    /**
     * Checks the string for correct date (by trying to create Date object).
     *
     * @param string $time String representation of date.
     * @param string $format PHP date format. If not specified, the format is got from the current culture.
     *
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:359
    public static Bitrix\Main\Type\Date::createFromText($text): DateTime|null Creates Date object from Text (return array of result object) Examples: "end ...
    /**
     * Creates Date object from Text (return array of result object)
     * Examples: "end of next week", "tomorrow morning", "friday 25.10"
     *
     * @param string $text
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:417
    protected static Bitrix\Main\Type\Date::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns short date culture format.
    /**
     * Returns short date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:293
    public static Bitrix\Main\Type\Date::createFromPhp(DateTime $datetime): static Creates Date object from PHP \DateTime object.
    /**
     * Creates Date object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:387
    public static Bitrix\Main\Type\Date::createFromTimestamp($timestamp): static Creates Date object from Unix timestamp.
    /**
     * Creates Date object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:402
  • UPDATE_AT string (19) "24.03.2026 15:35:10"
    (string) $arResult['PHOTO']['UPDATE_AT']
MESSAGE => array (23)
$arResult['MESSAGE']
ID => string (7) "1060809"
$arResult['MESSAGE']['ID']
CHANNEL_ID => string (10) "1474888668"
$arResult['MESSAGE']['CHANNEL_ID']
2016-09-26T11:17:48+00:00
POST_ID => string (4) "1069"
$arResult['MESSAGE']['POST_ID']
GROUP_ID => null
$arResult['MESSAGE']['GROUP_ID']
DATE => Bitrix\Main\Type\DateTime#588 (2)
$arResult['MESSAGE']['DATE']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#587 2021-01-08 12:03:09 +00:00 UTC
    • Methods (17)
    • Static methods (5)
    • Class constants (14)
    protected userTimeEnabled -> boolean true
  • public __construct($time = null, $format = null, ?DateTimeZone $timezone = null)
    new \Bitrix\Main\Type\DateTime()
    /**
     * @param string | null $time String representation of datetime.
     * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture.
     * @param \DateTimeZone | null $timezone Optional timezone object.
     *
     * @throws Main\ObjectException
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
    public toString(?Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.
    $arResult['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) "08.01.2021 15:03:09"
    (string) $arResult['MESSAGE']['DATE']
EDIT_DATE => Bitrix\Main\Type\DateTime#586 (2)
$arResult['MESSAGE']['EDIT_DATE']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#585 2022-03-17 13:49: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']['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) "17.03.2022 16:49:26"
    (string) $arResult['MESSAGE']['EDIT_DATE']
AUTHOR_NAME => UTF-8 string (36) "Психология🧠 Psihologium"
$arResult['MESSAGE']['AUTHOR_NAME']
Психология🧠 Psihologium
AUTHOR_DATA => array (3)
$arResult['MESSAGE']['AUTHOR_DATA']
id => integer 1474888668
$arResult['MESSAGE']['AUTHOR_DATA']['id']
2016-09-26T11:17:48+00:00
name => UTF-8 string (36) "Психология🧠 Psihologium"
$arResult['MESSAGE']['AUTHOR_DATA']['name']
Психология🧠 Psihologium
username => string (11) "psihologium"
$arResult['MESSAGE']['AUTHOR_DATA']['username']
CODE => string (67) "lyubov-materiya-tonkaya-i-k-sebe-ona-nastoyashchaya-esli-vy-polyubi"
$arResult['MESSAGE']['CODE']
VIEWS => string (4) "1743"
$arResult['MESSAGE']['VIEWS']
FORWARDS => string (2) "16"
$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 (0)
$arResult['MESSAGE']['REACTIONS']
LANG_CODE => string (2) "ru"
$arResult['MESSAGE']['LANG_CODE']
MESSAGE_LENGTH => string (3) "940"
$arResult['MESSAGE']['MESSAGE_LENGTH']
SCORE => string (4) "-100"
$arResult['MESSAGE']['SCORE']
SCORE_UPDATED_AT => Bitrix\Main\Type\DateTime#584 (2)
$arResult['MESSAGE']['SCORE_UPDATED_AT']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#583 2026-04-27 11:16:31 +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:16:31"
    (string) $arResult['MESSAGE']['SCORE_UPDATED_AT']
UPDATE_AT => Bitrix\Main\Type\DateTime#582 (2)
$arResult['MESSAGE']['UPDATE_AT']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#581 2026-05-12 15:12:38 +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 18:12:38"
    (string) $arResult['MESSAGE']['UPDATE_AT']
MESSAGE => UTF-8 string (1656) "[​​](https://telegra.ph/file/dc58d58cf1b523a0df468.jpg)Любовь материя тонкая...
$arResult['MESSAGE']['MESSAGE']
[​​](https://telegra.ph/file/dc58d58cf1b523a0df468.jpg)Любовь материя тонкая и к себе она настоящая, если вы полюбите себя в любом проявлении.
ᅠᅠ
Полюби все свои ошибки, совершённые ранее. Люди часто пожирают себя, ненавидят за те вещи, которые сделали в прошлом, при этом забывая о настоящем моменте.
ᅠᅠ
На тот момент, с теми знаниями, то действие для вас было самым верным. Понимаете, корить себя за прошлое - это худшее, что мы можем делать, находясь здесь и сейчас? Если можно всё исправить, то сделайте это, если же нет, то примите тот факт, что совершенные действия уже произошли и тогда они казались самыми правильными. Конечно, ошибку нужно признать, но продолжать любить себя со всеми промахами.
ᅠᅠ
Благодаря тем ошибкам, вы здесь и сейчас. Они сделали вас сильнее, внедрите эти знания и перестаньте себя гнобить!

Не нужно смиряться с чем-то, нужно стремиться быть лучше, но не осуждать себя за свои недостатки.

А вы любите себя?
MESSAGE_HTML => UTF-8 string (1707) "<a href="https://telegra.ph/file/dc58d58cf1b523a0df468.jpg">​​</a>Любовь мат...
$arResult['MESSAGE']['MESSAGE_HTML']
<a href="https://telegra.ph/file/dc58d58cf1b523a0df468.jpg">​​</a>Любовь материя тонкая и к себе она настоящая, если вы полюбите себя в любом проявлении.<br>
ᅠᅠ<br>
Полюби все свои ошибки, совершённые ранее. Люди часто пожирают себя, ненавидят за те вещи, которые сделали в прошлом, при этом забывая о настоящем моменте.<br>
ᅠᅠ<br>
На тот момент, с теми знаниями, то действие для вас было самым верным. Понимаете, корить себя за прошлое - это худшее, что мы можем делать, находясь здесь и сейчас? Если можно всё исправить, то сделайте это, если же нет, то примите тот факт, что совершенные действия уже произошли и тогда они казались самыми правильными. Конечно, ошибку нужно признать, но продолжать любить себя со всеми промахами.<br>
ᅠᅠ<br>
Благодаря тем ошибкам, вы здесь и сейчас. Они сделали вас сильнее, внедрите эти знания и перестаньте себя гнобить!<br>
<br>
Не нужно смиряться с чем-то, нужно стремиться быть лучше, но не осуждать себя за свои недостатки.<br>
<br>
А вы любите себя?
MEDIA => array (13)
$arResult['MESSAGE']['MEDIA']
ID => string (7) "1060809"
$arResult['MESSAGE']['MEDIA']['ID']
CHANNEL_ID => string (10) "1474888668"
$arResult['MESSAGE']['MEDIA']['CHANNEL_ID']
2016-09-26T11:17:48+00:00
POST_ID => string (4) "1069"
$arResult['MESSAGE']['MEDIA']['POST_ID']
MEDIA_ID => string (19) "5081221150776803689"
$arResult['MESSAGE']['MEDIA']['MEDIA_ID']
TYPE => string (7) "webpage"
$arResult['MESSAGE']['MEDIA']['TYPE']
IS_IMAGE => string (1) "N"
$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#580 (2)
$arResult['MESSAGE']['MEDIA']['UPDATE_AT']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#579 2026-03-24 12:35:17 +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) "24.03.2026 15:35:17"
    (string) $arResult['MESSAGE']['MEDIA']['UPDATE_AT']
DATA => array (9)
$arResult['MESSAGE']['MEDIA']['DATA']
ID => integer 5081221150776803689
$arResult['MESSAGE']['MEDIA']['DATA']['ID']
URL => string (49) "https://telegra.ph/file/dc58d58cf1b523a0df468.jpg"
$arResult['MESSAGE']['MEDIA']['DATA']['URL']
DISPLAY_URL => string (41) "telegra.ph/file/dc58d58cf1b523a0df468.jpg"
$arResult['MESSAGE']['MEDIA']['DATA']['DISPLAY_URL']
TITLE => null
$arResult['MESSAGE']['MEDIA']['DATA']['TITLE']
DESCRIPTION => null
$arResult['MESSAGE']['MEDIA']['DATA']['DESCRIPTION']
SITE_NAME => null
$arResult['MESSAGE']['MEDIA']['DATA']['SITE_NAME']
IMAGE_WIDTH => integer 1280
$arResult['MESSAGE']['MEDIA']['DATA']['IMAGE_WIDTH']
IMAGE_HEIGHT => integer 720
$arResult['MESSAGE']['MEDIA']['DATA']['IMAGE_HEIGHT']
IMAGE_RATIO => double 1.78
$arResult['MESSAGE']['MEDIA']['DATA']['IMAGE_RATIO']
ORIGINAL_DATA => array (5)
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']
safe => boolean false
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['safe']
manual => boolean false
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['manual']
webpage => array (19)
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']
id => integer 5081221150776803689
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['id']
url => string (49) "https://telegra.ph/file/dc58d58cf1b523a0df468.jpg"
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['url']
hash => integer 0
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['hash']
type => string (5) "photo"
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['type']
photo => array (8)
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['photo']
id => integer 6036328483443026926
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['photo']['id']
date => string (25) "2021-01-08T07:02:38+00:00"
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['photo']['date']
dc_id => integer 4
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['photo']['dc_id']
sizes => array (4)
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['photo']['sizes']
0 => array (2) Depth Limit
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['photo']['sizes'][0]
1 => array (4) Depth Limit
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['photo']['sizes'][1]
2 => array (4) Depth Limit
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['photo']['sizes'][2]
3 => array (4) Depth Limit
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['photo']['sizes'][3]
access_hash => integer -548617859400009367
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['photo']['access_hash']
video_sizes => null
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['photo']['video_sizes']
has_stickers => boolean false
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['photo']['has_stickers']
file_reference => string (24) "<binary data length: 21>"
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['photo']['file_reference']
title => null
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['title']
author => null
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['author']
document => null
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['document']
duration => null
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['duration']
embed_url => null
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['embed_url']
site_name => null
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['site_name']
attributes => null
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['attributes']
embed_type => null
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['embed_type']
cached_page => null
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['cached_page']
description => null
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['description']
display_url => string (41) "telegra.ph/file/dc58d58cf1b523a0df468.jpg"
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['display_url']
embed_width => null
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['embed_width']
embed_height => null
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['embed_height']
has_large_media => boolean true
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['webpage']['has_large_media']
force_large_media => boolean false
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['force_large_media']
force_small_media => boolean false
$arResult['MESSAGE']['MEDIA']['ORIGINAL_DATA']['force_small_media']
IS_SPOILER => boolean false
$arResult['MESSAGE']['MEDIA']['IS_SPOILER']
IS_EMBED => boolean false
$arResult['IS_EMBED']
IS_DETAILED => boolean true
$arResult['IS_DETAILED']
avatar
Психология🧠 Psihologium
@psihologium
08.01.2021 12:03
​​Любовь материя тонкая и к себе она настоящая, если вы полюбите себя в любом проявлении.
ᅠᅠ
Полюби все свои ошибки, совершённые ранее. Люди часто пожирают себя, ненавидят за те вещи, которые сделали в прошлом, при этом забывая о настоящем моменте.
ᅠᅠ
На тот момент, с теми знаниями, то действие для вас было самым верным. Понимаете, корить себя за прошлое - это худшее, что мы можем делать, находясь здесь и сейчас? Если можно всё исправить, то сделайте это, если же нет, то примите тот факт, что совершенные действия уже произошли и тогда они казались самыми правильными. Конечно, ошибку нужно признать, но продолжать любить себя со всеми промахами.
ᅠᅠ
Благодаря тем ошибкам, вы здесь и сейчас. Они сделали вас сильнее, внедрите эти знания и перестаньте себя гнобить!

Не нужно смиряться с чем-то, нужно стремиться быть лучше, но не осуждать себя за свои недостатки.

А вы любите себя?
16 1.7K

Обсуждение 0

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

Обсудить в Telegram