$arResult array (41)
ID => string (10) "1214320724"
$arResult['ID']
2008-06-24T15:18:44+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 => string (15) "Web 3.0 :: Web3"
$arResult['NAME']
USERNAME => string (8) "web3news"
$arResult['USERNAME']
DESCRIPTION => UTF-8 string (350) "Самый полный фундаментальный и стоимостный анализ по Web 3.0: Web3, DAO, blo...
$arResult['DESCRIPTION']
Самый полный фундаментальный и стоимостный анализ по Web 3.0: Web3, DAO, blockchain, криптовалюты, NFT,  #DeFi   (ReFi, RWA, etc.) - и о прочем, что связано с будущим технологий. Netstalking. 

Рекламы в канале нет. 

Админ: @menaskop
DESCRIPTION_LENGTH => string (1) "0"
$arResult['DESCRIPTION_LENGTH']
CREATION => Bitrix\Main\Type\DateTime#465 (2)
$arResult['CREATION']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#464 2019-09-08 16:26:58 +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) "08.09.2019 19:26:58"
    (string) $arResult['CREATION']
UPDATE_AT => Bitrix\Main\Type\DateTime#463 (2)
$arResult['UPDATE_AT']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#462 2026-05-25 12:02:47 +00:00 UTC
    • Methods (17)
    • Static methods (5)
    • Class constants (14)
    protected userTimeEnabled -> boolean true
  • public __construct($time = null, $format = null, ?DateTimeZone $timezone = null)
    new \Bitrix\Main\Type\DateTime()
    /**
     * @param string | null $time String representation of datetime.
     * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture.
     * @param \DateTimeZone | null $timezone Optional timezone object.
     *
     * @throws Main\ObjectException
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
    public toString(?Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.
    $arResult['UPDATE_AT']->toString()
    /**
     * Converts date to string, using Culture and global timezone settings.
     *
     * @param Context\Culture | null $culture Culture contains datetime format.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:86
    public getTimeZone(): \DateTimeZone Returns timezone object.
    $arResult['UPDATE_AT']->getTimeZone()
    /**
     * Returns timezone object.
     *
     * @return \DateTimeZone
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
    public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.
    $arResult['UPDATE_AT']->setTimeZone()
    /**
     * Sets timezone object.
     *
     * @param \DateTimeZone $timezone Timezone object.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:118
    public setDefaultTimeZone(): DateTime Sets default timezone.
    $arResult['UPDATE_AT']->setDefaultTimeZone()
    /**
     * Sets default timezone.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
    public setTime($hour, $minute, $second = 0, $microseconds = 0): DateTime
    $arResult['UPDATE_AT']->setTime()
    /**
     * @param int $hour Hour value.
     * @param int $minute Minute value.
     * @param int $second Second value.
     * @param int $microseconds Microseconds value.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:144
    public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.
    $arResult['UPDATE_AT']->toUserTime()
    /**
     * Changes time from server time to user time using global timezone settings.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:155
    public isUserTimeEnabled(): bool
    $arResult['UPDATE_AT']->isUserTimeEnabled()
    /**
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
    public disableUserTime(): $this
    $arResult['UPDATE_AT']->disableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
    public enableUserTime(): $this
    $arResult['UPDATE_AT']->enableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
    protected parse($format, $time): array|bool
    /**
     * @param string $format
     * @param string $time
     * @return array|bool
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:53
    public format($format): string Formats date value to string.
    $arResult['UPDATE_AT']->format()
    /**
     * Formats date value to string.
     *
     * @param string $format PHP date format.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:110
    public __clone(): void Produces the copy of the object.
    clone $arResult['UPDATE_AT']
    /**
     * Produces the copy of the object.
     *
     * @return void
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:120
    public add($interval): $this Performs dates arithmetic.
    $arResult['UPDATE_AT']->add()
    /**
     * Performs dates arithmetic.
     *
     * Each duration period is represented by an integer value followed by a period
     * designator. If the duration contains time elements, that portion of the
     * specification is preceded by the letter T.
     * Period Designators: Y - years, M - months, D - days, W - weeks, H - hours,
     * M - minutes, S - seconds.
     * Examples: two days - 2D, two seconds - T2S, six years and five minutes - 6YT5M.
     * The unit types must be entered from the largest scale unit on the left to the
     * smallest scale unit on the right.
     * Use first "-" char for negative periods.
     * OR
     * Relative period.
     * Examples: "+5 weeks", "12 day", "-7 weekdays", '3 months - 5 days'
     *
     * @param string $interval Time interval to add.
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:145
    public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.
    $arResult['UPDATE_AT']->setDate()
    /**
     * Sets the current date of the DateTime object to a different date.
     * @param int $year
     * @param int $month
     * @param int $day
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:169
    public getTimestamp(): int Returns Unix timestamp from date.
    $arResult['UPDATE_AT']->getTimestamp()
    /**
     * Returns Unix timestamp from date.
     *
     * @return int
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:218
    public getDiff(Bitrix\Main\Type\Date $time): \DateInterval Returns difference between dates.
    $arResult['UPDATE_AT']->getDiff()
    /**
     * Returns difference between dates.
     *
     * @param Date $time
     * @return \DateInterval
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:229
    public __toString(): string Converts a date to the string with default culture format setting.
    (string) $arResult['UPDATE_AT']
    /**
     * Converts a date to the string with default culture format setting.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:252
    private Bitrix\Main\Type\Date::tryToCreateIntervalByDesignators($interval)
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:176
  • public static Bitrix\Main\Type\DateTime::secondsToOffset($seconds, $delimiter = '')
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
    public static Bitrix\Main\Type\DateTime::createFromUserTime($timeString): DateTime Creates DateTime object from local user time using global timezone settings a...
    /**
     * Creates DateTime object from local user time using global timezone settings and default culture.
     *
     * @param string $timeString Full or short formatted time.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:180
    protected static Bitrix\Main\Type\DateTime::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns long (including time) date culture format.
    /**
     * Returns long (including time) date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:216
    public static Bitrix\Main\Type\DateTime::createFromPhp(DateTime $datetime): static Creates DateTime object from PHP \DateTime object.
    /**
     * Creates DateTime object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:232
    public static Bitrix\Main\Type\DateTime::createFromTimestamp($timestamp): static Creates DateTime object from Unix timestamp.
    /**
     * Creates DateTime object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:246
    public static Bitrix\Main\Type\DateTime::tryParse($timeString, $format = null): DateTime|null Creates DateTime object from string. NULL will be returned on failure.
    /**
     * Creates DateTime object from string.
     * NULL will be returned on failure.
     * @param string $timeString Full formatted time.
     * @param string $format PHP datetime format. If not specified, the format is got from the current culture.
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:260
    public static Bitrix\Main\Type\Date::getFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns a date format from the culture in the php format.
    /**
     * Returns a date format from the culture in the php format.
     *
     * @param Context\Culture | null $culture Optional culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:264
    public static Bitrix\Main\Type\Date::convertFormatToPhp($format): string Converts date format from culture to php format.
    /**
     * Converts date format from culture to php format.
     *
     * @param string $format Format string.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:309
    public static Bitrix\Main\Type\Date::isCorrect($time, $format = null): bool Checks the string for correct date (by trying to create Date object).
    /**
     * Checks the string for correct date (by trying to create Date object).
     *
     * @param string $time String representation of date.
     * @param string $format PHP date format. If not specified, the format is got from the current culture.
     *
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:359
    public static Bitrix\Main\Type\Date::createFromText($text): DateTime|null Creates Date object from Text (return array of result object) Examples: "end ...
    /**
     * Creates Date object from Text (return array of result object)
     * Examples: "end of next week", "tomorrow morning", "friday 25.10"
     *
     * @param string $text
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:417
    protected static Bitrix\Main\Type\Date::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns short date culture format.
    /**
     * Returns short date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:293
    public static Bitrix\Main\Type\Date::createFromPhp(DateTime $datetime): static Creates Date object from PHP \DateTime object.
    /**
     * Creates Date object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:387
    public static Bitrix\Main\Type\Date::createFromTimestamp($timestamp): static Creates Date object from Unix timestamp.
    /**
     * Creates Date object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:402
  • UPDATE_AT string (19) "25.05.2026 15:02:47"
    (string) $arResult['UPDATE_AT']
CHANNEL_ID => string (10) "1214320724"
$arResult['CHANNEL_ID']
2008-06-24T15:18:44+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) "6081"
$arResult['CHANNEL_SUBSCRIBERS']
CHANNEL_CHAT => null
$arResult['CHANNEL_CHAT']
CHANNEL_PTS => string (5) "90361"
$arResult['CHANNEL_PTS']
CHANNEL_PTS_DATE => Bitrix\Main\Type\DateTime#461 (2)
$arResult['CHANNEL_PTS_DATE']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#460 2025-12-10 23:54:18 +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) "11.12.2025 02:54:18"
    (string) $arResult['CHANNEL_PTS_DATE']
CHANNEL_UPDATE_AT => Bitrix\Main\Type\DateTime#459 (2)
$arResult['CHANNEL_UPDATE_AT']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#458 2026-05-24 21:05:06 +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) "25.05.2026 00:05:06"
    (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) "1214320724"
$arResult['PHOTO']['ID']
2008-06-24T15:18:44+00:00
PHOTO_ID => string (19) "5381861139249042374"
$arResult['PHOTO']['PHOTO_ID']
TYPE => string (10) "image/jpeg"
$arResult['PHOTO']['TYPE']
SIZE => string (6) "186761"
$arResult['PHOTO']['SIZE']
WIDTH => string (3) "640"
$arResult['PHOTO']['WIDTH']
HEIGHT => string (3) "640"
$arResult['PHOTO']['HEIGHT']
PATH => string (56) "/upload/tg/user_photo/1214320724_5381861139249042374.jpg"
$arResult['PHOTO']['PATH']
UPDATE_AT => Bitrix\Main\Type\DateTime#455 (2)
$arResult['PHOTO']['UPDATE_AT']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#456 2026-03-23 02:11:50 +00:00 UTC
    • Methods (17)
    • Static methods (5)
    • Class constants (14)
    protected userTimeEnabled -> boolean true
  • public __construct($time = null, $format = null, ?DateTimeZone $timezone = null)
    new \Bitrix\Main\Type\DateTime()
    /**
     * @param string | null $time String representation of datetime.
     * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture.
     * @param \DateTimeZone | null $timezone Optional timezone object.
     *
     * @throws Main\ObjectException
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
    public toString(?Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.
    $arResult['PHOTO']['UPDATE_AT']->toString()
    /**
     * Converts date to string, using Culture and global timezone settings.
     *
     * @param Context\Culture | null $culture Culture contains datetime format.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:86
    public getTimeZone(): \DateTimeZone Returns timezone object.
    $arResult['PHOTO']['UPDATE_AT']->getTimeZone()
    /**
     * Returns timezone object.
     *
     * @return \DateTimeZone
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
    public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.
    $arResult['PHOTO']['UPDATE_AT']->setTimeZone()
    /**
     * Sets timezone object.
     *
     * @param \DateTimeZone $timezone Timezone object.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:118
    public setDefaultTimeZone(): DateTime Sets default timezone.
    $arResult['PHOTO']['UPDATE_AT']->setDefaultTimeZone()
    /**
     * Sets default timezone.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
    public setTime($hour, $minute, $second = 0, $microseconds = 0): DateTime
    $arResult['PHOTO']['UPDATE_AT']->setTime()
    /**
     * @param int $hour Hour value.
     * @param int $minute Minute value.
     * @param int $second Second value.
     * @param int $microseconds Microseconds value.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:144
    public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.
    $arResult['PHOTO']['UPDATE_AT']->toUserTime()
    /**
     * Changes time from server time to user time using global timezone settings.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:155
    public isUserTimeEnabled(): bool
    $arResult['PHOTO']['UPDATE_AT']->isUserTimeEnabled()
    /**
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
    public disableUserTime(): $this
    $arResult['PHOTO']['UPDATE_AT']->disableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
    public enableUserTime(): $this
    $arResult['PHOTO']['UPDATE_AT']->enableUserTime()
    /**
     * @return $this
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
    protected parse($format, $time): array|bool
    /**
     * @param string $format
     * @param string $time
     * @return array|bool
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:53
    public format($format): string Formats date value to string.
    $arResult['PHOTO']['UPDATE_AT']->format()
    /**
     * Formats date value to string.
     *
     * @param string $format PHP date format.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:110
    public __clone(): void Produces the copy of the object.
    clone $arResult['PHOTO']['UPDATE_AT']
    /**
     * Produces the copy of the object.
     *
     * @return void
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:120
    public add($interval): $this Performs dates arithmetic.
    $arResult['PHOTO']['UPDATE_AT']->add()
    /**
     * Performs dates arithmetic.
     *
     * Each duration period is represented by an integer value followed by a period
     * designator. If the duration contains time elements, that portion of the
     * specification is preceded by the letter T.
     * Period Designators: Y - years, M - months, D - days, W - weeks, H - hours,
     * M - minutes, S - seconds.
     * Examples: two days - 2D, two seconds - T2S, six years and five minutes - 6YT5M.
     * The unit types must be entered from the largest scale unit on the left to the
     * smallest scale unit on the right.
     * Use first "-" char for negative periods.
     * OR
     * Relative period.
     * Examples: "+5 weeks", "12 day", "-7 weekdays", '3 months - 5 days'
     *
     * @param string $interval Time interval to add.
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:145
    public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.
    $arResult['PHOTO']['UPDATE_AT']->setDate()
    /**
     * Sets the current date of the DateTime object to a different date.
     * @param int $year
     * @param int $month
     * @param int $day
     *
     * @return $this
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:169
    public getTimestamp(): int Returns Unix timestamp from date.
    $arResult['PHOTO']['UPDATE_AT']->getTimestamp()
    /**
     * Returns Unix timestamp from date.
     *
     * @return int
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:218
    public getDiff(Bitrix\Main\Type\Date $time): \DateInterval Returns difference between dates.
    $arResult['PHOTO']['UPDATE_AT']->getDiff()
    /**
     * Returns difference between dates.
     *
     * @param Date $time
     * @return \DateInterval
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:229
    public __toString(): string Converts a date to the string with default culture format setting.
    (string) $arResult['PHOTO']['UPDATE_AT']
    /**
     * Converts a date to the string with default culture format setting.
     *
     * @return string
     */
    
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:252
    private Bitrix\Main\Type\Date::tryToCreateIntervalByDesignators($interval)
    Inherited from Bitrix\Main\Type\Date
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:176
  • public static Bitrix\Main\Type\DateTime::secondsToOffset($seconds, $delimiter = '')
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
    public static Bitrix\Main\Type\DateTime::createFromUserTime($timeString): DateTime Creates DateTime object from local user time using global timezone settings a...
    /**
     * Creates DateTime object from local user time using global timezone settings and default culture.
     *
     * @param string $timeString Full or short formatted time.
     *
     * @return DateTime
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:180
    protected static Bitrix\Main\Type\DateTime::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns long (including time) date culture format.
    /**
     * Returns long (including time) date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:216
    public static Bitrix\Main\Type\DateTime::createFromPhp(DateTime $datetime): static Creates DateTime object from PHP \DateTime object.
    /**
     * Creates DateTime object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:232
    public static Bitrix\Main\Type\DateTime::createFromTimestamp($timestamp): static Creates DateTime object from Unix timestamp.
    /**
     * Creates DateTime object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:246
    public static Bitrix\Main\Type\DateTime::tryParse($timeString, $format = null): DateTime|null Creates DateTime object from string. NULL will be returned on failure.
    /**
     * Creates DateTime object from string.
     * NULL will be returned on failure.
     * @param string $timeString Full formatted time.
     * @param string $format PHP datetime format. If not specified, the format is got from the current culture.
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:260
    public static Bitrix\Main\Type\Date::getFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns a date format from the culture in the php format.
    /**
     * Returns a date format from the culture in the php format.
     *
     * @param Context\Culture | null $culture Optional culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:264
    public static Bitrix\Main\Type\Date::convertFormatToPhp($format): string Converts date format from culture to php format.
    /**
     * Converts date format from culture to php format.
     *
     * @param string $format Format string.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:309
    public static Bitrix\Main\Type\Date::isCorrect($time, $format = null): bool Checks the string for correct date (by trying to create Date object).
    /**
     * Checks the string for correct date (by trying to create Date object).
     *
     * @param string $time String representation of date.
     * @param string $format PHP date format. If not specified, the format is got from the current culture.
     *
     * @return bool
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:359
    public static Bitrix\Main\Type\Date::createFromText($text): DateTime|null Creates Date object from Text (return array of result object) Examples: "end ...
    /**
     * Creates Date object from Text (return array of result object)
     * Examples: "end of next week", "tomorrow morning", "friday 25.10"
     *
     * @param string $text
     * @return DateTime|null
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:417
    protected static Bitrix\Main\Type\Date::getCultureFormat(?Bitrix\Main\Context\Culture $culture = null): string Returns short date culture format.
    /**
     * Returns short date culture format.
     *
     * @param Context\Culture | null $culture Culture.
     *
     * @return string
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:293
    public static Bitrix\Main\Type\Date::createFromPhp(DateTime $datetime): static Creates Date object from PHP \DateTime object.
    /**
     * Creates Date object from PHP \DateTime object.
     *
     * @param \DateTime $datetime Source object.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:387
    public static Bitrix\Main\Type\Date::createFromTimestamp($timestamp): static Creates Date object from Unix timestamp.
    /**
     * Creates Date object from Unix timestamp.
     *
     * @param int $timestamp Source timestamp.
     *
     * @return static
     */
    
    Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:402
  • UPDATE_AT string (19) "23.03.2026 05:11:50"
    (string) $arResult['PHOTO']['UPDATE_AT']
MESSAGE => array (23)
$arResult['MESSAGE']
ID => string (8) "14290109"
$arResult['MESSAGE']['ID']
CHANNEL_ID => string (10) "1214320724"
$arResult['MESSAGE']['CHANNEL_ID']
2008-06-24T15:18:44+00:00
POST_ID => string (4) "7854"
$arResult['MESSAGE']['POST_ID']
GROUP_ID => null
$arResult['MESSAGE']['GROUP_ID']
DATE => Bitrix\Main\Type\DateTime#589 (2)
$arResult['MESSAGE']['DATE']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#588 2026-05-16 06:54: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']['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) "16.05.2026 09:54:26"
    (string) $arResult['MESSAGE']['DATE']
EDIT_DATE => Bitrix\Main\Type\DateTime#587 (2)
$arResult['MESSAGE']['EDIT_DATE']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#586 2026-05-16 08:12:12 +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) "16.05.2026 11:12:12"
    (string) $arResult['MESSAGE']['EDIT_DATE']
AUTHOR_NAME => string (15) "Web 3.0 :: Web3"
$arResult['MESSAGE']['AUTHOR_NAME']
AUTHOR_DATA => array (3)
$arResult['MESSAGE']['AUTHOR_DATA']
id => integer 1214320724
$arResult['MESSAGE']['AUTHOR_DATA']['id']
2008-06-24T15:18:44+00:00
name => string (15) "Web 3.0 :: Web3"
$arResult['MESSAGE']['AUTHOR_DATA']['name']
username => string (8) "web3news"
$arResult['MESSAGE']['AUTHOR_DATA']['username']
CODE => string (55) "promt-eto-prikaz-i-k-chyertu-esli-chestno-vse-eti-t-n-s"
$arResult['MESSAGE']['CODE']
VIEWS => string (4) "1051"
$arResult['MESSAGE']['VIEWS']
FORWARDS => string (1) "5"
$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 (9)
$arResult['MESSAGE']['REACTIONS']
  • Table (9)
  • Contents (9)
  • hexhtmlcountemojireaction
    0F09F918D<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/FUTF-810null👍
    1F09F92AF<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/FUTF-810null💯
    2E29DA4<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/EUTF-84null
    3F09F918F<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/FUTF-83null👏
    4F09F958A<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/FUTF-82null🕊
    5F09FA49D<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/FUTF-81null🤝
    6F09FA684<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/FUTF-81null🦄
    7null<tg-emoji emoji-id="5228969279533120468"></tg-emoji>15228969279533120468null
    8null<tg-emoji emoji-id="5228887511945740035"></tg-emoji>15228887511945740035null
  • 0 => array (5)
    $arResult['MESSAGE']['REACTIONS'][0]
    hex => string (8) "F09F918D"
    $arResult['MESSAGE']['REACTIONS'][0]['hex']
    html => UTF-8 string (105) "<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/F0...
    $arResult['MESSAGE']['REACTIONS'][0]['html']
    <i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/F09F918D.png')"><b>👍</b></i>
    
    count => integer 10
    $arResult['MESSAGE']['REACTIONS'][0]['count']
    emoji => null
    $arResult['MESSAGE']['REACTIONS'][0]['emoji']
    reaction => UTF-8 string (4) "👍"
    $arResult['MESSAGE']['REACTIONS'][0]['reaction']
    1 => array (5)
    $arResult['MESSAGE']['REACTIONS'][1]
    hex => string (8) "F09F92AF"
    $arResult['MESSAGE']['REACTIONS'][1]['hex']
    html => UTF-8 string (105) "<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/F0...
    $arResult['MESSAGE']['REACTIONS'][1]['html']
    <i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/F09F92AF.png')"><b>💯</b></i>
    
    count => integer 10
    $arResult['MESSAGE']['REACTIONS'][1]['count']
    emoji => null
    $arResult['MESSAGE']['REACTIONS'][1]['emoji']
    reaction => UTF-8 string (4) "💯"
    $arResult['MESSAGE']['REACTIONS'][1]['reaction']
    2 => array (5)
    $arResult['MESSAGE']['REACTIONS'][2]
    hex => string (6) "E29DA4"
    $arResult['MESSAGE']['REACTIONS'][2]['hex']
    html => UTF-8 string (102) "<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/E2...
    $arResult['MESSAGE']['REACTIONS'][2]['html']
    <i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/E29DA4.png')"><b>❤</b></i>
    
    count => integer 4
    $arResult['MESSAGE']['REACTIONS'][2]['count']
    emoji => null
    $arResult['MESSAGE']['REACTIONS'][2]['emoji']
    reaction => UTF-8 string (3) "❤"
    $arResult['MESSAGE']['REACTIONS'][2]['reaction']
    3 => array (5)
    $arResult['MESSAGE']['REACTIONS'][3]
    hex => string (8) "F09F918F"
    $arResult['MESSAGE']['REACTIONS'][3]['hex']
    html => UTF-8 string (105) "<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/F0...
    $arResult['MESSAGE']['REACTIONS'][3]['html']
    <i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/F09F918F.png')"><b>👏</b></i>
    
    count => integer 3
    $arResult['MESSAGE']['REACTIONS'][3]['count']
    emoji => null
    $arResult['MESSAGE']['REACTIONS'][3]['emoji']
    reaction => UTF-8 string (4) "👏"
    $arResult['MESSAGE']['REACTIONS'][3]['reaction']
    4 => array (5)
    $arResult['MESSAGE']['REACTIONS'][4]
    hex => string (8) "F09F958A"
    $arResult['MESSAGE']['REACTIONS'][4]['hex']
    html => UTF-8 string (105) "<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/F0...
    $arResult['MESSAGE']['REACTIONS'][4]['html']
    <i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/F09F958A.png')"><b>🕊</b></i>
    
    count => integer 2
    $arResult['MESSAGE']['REACTIONS'][4]['count']
    emoji => null
    $arResult['MESSAGE']['REACTIONS'][4]['emoji']
    reaction => UTF-8 string (4) "🕊"
    $arResult['MESSAGE']['REACTIONS'][4]['reaction']
    5 => array (5)
    $arResult['MESSAGE']['REACTIONS'][5]
    hex => string (8) "F09FA49D"
    $arResult['MESSAGE']['REACTIONS'][5]['hex']
    html => UTF-8 string (105) "<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/F0...
    $arResult['MESSAGE']['REACTIONS'][5]['html']
    <i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/F09FA49D.png')"><b>🤝</b></i>
    
    count => integer 1
    $arResult['MESSAGE']['REACTIONS'][5]['count']
    emoji => null
    $arResult['MESSAGE']['REACTIONS'][5]['emoji']
    reaction => UTF-8 string (4) "🤝"
    $arResult['MESSAGE']['REACTIONS'][5]['reaction']
    6 => array (5)
    $arResult['MESSAGE']['REACTIONS'][6]
    hex => string (8) "F09FA684"
    $arResult['MESSAGE']['REACTIONS'][6]['hex']
    html => UTF-8 string (105) "<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/F0...
    $arResult['MESSAGE']['REACTIONS'][6]['html']
    <i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/F09FA684.png')"><b>🦄</b></i>
    
    count => integer 1
    $arResult['MESSAGE']['REACTIONS'][6]['count']
    emoji => null
    $arResult['MESSAGE']['REACTIONS'][6]['emoji']
    reaction => UTF-8 string (4) "🦄"
    $arResult['MESSAGE']['REACTIONS'][6]['reaction']
    7 => array (5)
    $arResult['MESSAGE']['REACTIONS'][7]
    hex => null
    $arResult['MESSAGE']['REACTIONS'][7]['hex']
    html => string (52) "<tg-emoji emoji-id="5228969279533120468"></tg-emoji>"
    $arResult['MESSAGE']['REACTIONS'][7]['html']
    count => integer 1
    $arResult['MESSAGE']['REACTIONS'][7]['count']
    emoji => string (19) "5228969279533120468"
    $arResult['MESSAGE']['REACTIONS'][7]['emoji']
    reaction => null
    $arResult['MESSAGE']['REACTIONS'][7]['reaction']
    8 => array (5)
    $arResult['MESSAGE']['REACTIONS'][8]
    hex => null
    $arResult['MESSAGE']['REACTIONS'][8]['hex']
    html => string (52) "<tg-emoji emoji-id="5228887511945740035"></tg-emoji>"
    $arResult['MESSAGE']['REACTIONS'][8]['html']
    count => integer 1
    $arResult['MESSAGE']['REACTIONS'][8]['count']
    emoji => string (19) "5228887511945740035"
    $arResult['MESSAGE']['REACTIONS'][8]['emoji']
    reaction => null
    $arResult['MESSAGE']['REACTIONS'][8]['reaction']
LANG_CODE => string (2) "ru"
$arResult['MESSAGE']['LANG_CODE']
MESSAGE_LENGTH => string (4) "3266"
$arResult['MESSAGE']['MESSAGE_LENGTH']
SCORE => string (1) "0"
$arResult['MESSAGE']['SCORE']
SCORE_UPDATED_AT => null
$arResult['MESSAGE']['SCORE_UPDATED_AT']
UPDATE_AT => Bitrix\Main\Type\DateTime#585 (2)
$arResult['MESSAGE']['UPDATE_AT']
  • Properties (2)
  • Methods (19)
  • Static methods (13)
  • toString
  • protected value -> DateTime#584 2026-05-24 21:05:03 +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) "25.05.2026 00:05:03"
    (string) $arResult['MESSAGE']['UPDATE_AT']
MESSAGE => UTF-8 string (5712) "**промт - это приказ**. и к чёрту, если честно, все эти, т.н., софт-скиллы: ...
$arResult['MESSAGE']['MESSAGE']
**промт - это приказ**. и к чёрту, если честно, все эти, т.н., софт-скиллы: они меня откровенно раздражают, потому что за 10+ лет превратились в 1 сплошную манипуляцию. шутка, но с лишь долей шутки. 

конечно, это **не** значит, что **всё получается идеально**: скажем, позавчера на среду готовил презентацию: начал где-то в 23:00, а закончил примерно в 02:00. долго? но с учётом всех элементов, набранного текста и общего оформления в прошлые годы подобного не достиг бы и за 3 дня, не то, что за 3 часа. не уверен, что и за 30 бы сделал похожее. и главное: я бы ждал… а я устал всех, всегда и во всём ждать!)) вы даже не представляете: насколько сильно я устал именно ждать! :). 

мало ведь формализовать придуманное через презентацию/текст/видео/etc., нужно ещё ТЗ; мало ТЗ - нужно ещё его устно согласовать; мало согласовать устно - надо ещё потом повторно созвониться и понять, “на какой мы стадии” и т.д., и т.п. а ожидание с ИИ - сокращает эти дни/месяцы (а порой - годы) до секунд и минут. 

и дело не в пресловутом вайб-кодинге (как раз он-то **не** **решает** **сложных** проблем, с кот. в основном имею дело): он для меня следствие, а не причина. дело, ещё раз, в том, что я как человек не обязан по 10 раз талдычить простые истины:достаточно научить ИИ 1 раз этому и сделать так, чтобы его память не галлюционарогиловала. и всё. (да, не всегда это просто, но это куда проще, чем всё перечисленное выше). 

поэтому и в денежном плане тоже ухожу от людей: для души, что называется, хочется оставить какие-то проекты (OPLIS, MyShCh, Synergis, может, ещё 2-3), но в остальном аудит и консалтинг сократить до 1%-3%, т.е. до редких образчиков сложной формы и содержания (их и собираю последние лет 5-6), а остальное - всё больше уходит в сторону DeFi, где тоже доказывать всё и всем надоело: зачем? легче просто зарабатывать самому на не эффективностях рынках. не ждать, а действовать; не бежать, сломя голову, а созерцать; не доказывать доказанное, а идти и верифицировать. 

ещё остаётся **образование**, но не уверен, что оно **нужно** **людям**: судя по тому, что происходит на рынке, а особенно (снова и опять) - в русскоязычной среде - это всё напоминает какую-то неизлечимую болезнь, где большинство просто в упор не замечает очевидного: обсуждение одних и тех же "стратегий" чего стоит? а возврат к мемам?! а, грёбанный стыд, рассказы про DCA-универсум?! даже не знаю, сколько ещё всего можно перечислить. ограничусь одним словом: МНОГО. 

впрочем, радует, что как раз последние 1.5 года в Synergis пришло достаточно толковых и разумных людей: значит - и здесь есть надежда. тем более что ИИ-контент обучающий без авторской нотки - всё равно что пластиковая каша из “Кин-Дза-Дзы” после ресторана с отменной кухней и сервисом. 

поэтому летом намерен много всего рассказать, на что раньше всегда не хватало времени, а теперь оно есть, как есть время дописать книги самостоятельно, но напечатать их с помощью ИИ; доработать важные для меня бесплатные сервисы, запустить полноценно MyShCh и, может, поделиться полным опытом по деривативному рынку ДеФи. 

одним словом, не знаю, как вы, но **я крайне обрадован последними нововведениями в ИИ-сегменте**: долго ли они продлятся? не знаю. но пока железо это горячо - кую как не в себя :) :: чего и вам желаю!
MESSAGE_HTML => UTF-8 string (5866) "<b>промт - это приказ</b>. и к чёрту, если честно, все эти, т.н., софт-скилл...
$arResult['MESSAGE']['MESSAGE_HTML']
<b>промт - это приказ</b>. и к чёрту, если честно, все эти, т.н., софт-скиллы: они меня откровенно раздражают, потому что за 10+ лет превратились в 1 сплошную манипуляцию. <tg-spoiler>шутка, но с лишь долей шутки. <br>
</tg-spoiler><br>
конечно, это <b>не</b> значит, что <b>всё получается идеально</b>: скажем, позавчера на среду готовил презентацию: начал где-то в 23:00, а закончил примерно в 02:00. долго? но с учётом всех элементов, набранного текста и общего оформления в прошлые годы подобного не достиг бы и за 3 дня, не то, что за 3 часа. не уверен, что и за 30 бы сделал похожее. и главное: я бы ждал… а я устал всех, всегда и во всём ждать!)) вы даже не представляете: насколько сильно я устал именно ждать! :). <br>
<br>
мало ведь формализовать придуманное через презентацию/текст/видео/etc., нужно ещё ТЗ; мало ТЗ - нужно ещё его устно согласовать; мало согласовать устно - надо ещё потом повторно созвониться и понять, “на какой мы стадии” и т.д., и т.п. а ожидание с ИИ - сокращает эти дни/месяцы (а порой - годы) до секунд и минут. <br>
<br>
и дело не в пресловутом вайб-кодинге (как раз он-то <b>не</b> <b>решает</b> <b>сложных</b> проблем, с кот. в основном имею дело): он для меня следствие, а не причина. дело, ещё раз, в том, что я как человек не обязан по 10 раз талдычить простые истины:достаточно научить ИИ 1 раз этому и сделать так, чтобы его память не галлюционарогиловала. и всё. (да, не всегда это просто, но это куда проще, чем всё перечисленное выше). <br>
<br>
поэтому и в денежном плане тоже ухожу от людей: для души, что называется, хочется оставить какие-то проекты (OPLIS, MyShCh, Synergis, может, ещё 2-3), но в остальном аудит и консалтинг сократить до 1%-3%, т.е. до редких образчиков сложной формы и содержания (их и собираю последние лет 5-6), а остальное - всё больше уходит в сторону DeFi, где тоже доказывать всё и всем надоело: зачем? легче просто зарабатывать самому на не эффективностях рынках. не ждать, а действовать; не бежать, сломя голову, а созерцать; не доказывать доказанное, а идти и верифицировать. <br>
<br>
ещё остаётся <b>образование</b>, но не уверен, что оно <b>нужно</b> <b>людям</b>: судя по тому, что происходит на рынке, а особенно (снова и опять) - в русскоязычной среде - это всё напоминает какую-то неизлечимую болезнь, где большинство просто в упор не замечает очевидного: обсуждение одних и тех же &quot;стратегий&quot; чего стоит? а возврат к мемам?! а, грёбанный стыд, рассказы про DCA-универсум?! даже не знаю, сколько ещё всего можно перечислить. ограничусь одним словом: МНОГО. <br>
<br>
впрочем, радует, что как раз последние 1.5 года в Synergis пришло достаточно толковых и разумных людей: значит - и здесь есть надежда. тем более что ИИ-контент обучающий без авторской нотки - всё равно что пластиковая каша из “Кин-Дза-Дзы” после ресторана с отменной кухней и сервисом. <br>
<br>
поэтому летом намерен много всего рассказать, на что раньше всегда не хватало времени, а теперь оно есть, как есть время дописать книги самостоятельно, но напечатать их с помощью ИИ; доработать важные для меня бесплатные сервисы, запустить полноценно MyShCh и, может, поделиться полным опытом по деривативному рынку ДеФи. <br>
<br>
одним словом, не знаю, как вы, но <b>я крайне обрадован последними нововведениями в ИИ-сегменте</b>: долго ли они продлятся? не знаю. но пока железо это горячо - кую как не в себя :)<tg-spoiler> :: чего и вам желаю!</tg-spoiler>
MEDIA => null
$arResult['MESSAGE']['MEDIA']
IS_EMBED => boolean false
$arResult['IS_EMBED']
IS_DETAILED => boolean true
$arResult['IS_DETAILED']
avatar
Web 3.0 :: Web3
@web3news
16.05.2026 06:54
промт - это приказ. и к чёрту, если честно, все эти, т.н., софт-скиллы: они меня откровенно раздражают, потому что за 10+ лет превратились в 1 сплошную манипуляцию. шутка, но с лишь долей шутки.

конечно, это не значит, что всё получается идеально: скажем, позавчера на среду готовил презентацию: начал где-то в 23:00, а закончил примерно в 02:00. долго? но с учётом всех элементов, набранного текста и общего оформления в прошлые годы подобного не достиг бы и за 3 дня, не то, что за 3 часа. не уверен, что и за 30 бы сделал похожее. и главное: я бы ждал… а я устал всех, всегда и во всём ждать!)) вы даже не представляете: насколько сильно я устал именно ждать! :).

мало ведь формализовать придуманное через презентацию/текст/видео/etc., нужно ещё ТЗ; мало ТЗ - нужно ещё его устно согласовать; мало согласовать устно - надо ещё потом повторно созвониться и понять, “на какой мы стадии” и т.д., и т.п. а ожидание с ИИ - сокращает эти дни/месяцы (а порой - годы) до секунд и минут. 

и дело не в пресловутом вайб-кодинге (как раз он-то не решает сложных проблем, с кот. в основном имею дело): он для меня следствие, а не причина. дело, ещё раз, в том, что я как человек не обязан по 10 раз талдычить простые истины:достаточно научить ИИ 1 раз этому и сделать так, чтобы его память не галлюционарогиловала. и всё. (да, не всегда это просто, но это куда проще, чем всё перечисленное выше).

поэтому и в денежном плане тоже ухожу от людей: для души, что называется, хочется оставить какие-то проекты (OPLIS, MyShCh, Synergis, может, ещё 2-3), но в остальном аудит и консалтинг сократить до 1%-3%, т.е. до редких образчиков сложной формы и содержания (их и собираю последние лет 5-6), а остальное - всё больше уходит в сторону DeFi, где тоже доказывать всё и всем надоело: зачем? легче просто зарабатывать самому на не эффективностях рынках. не ждать, а действовать; не бежать, сломя голову, а созерцать; не доказывать доказанное, а идти и верифицировать.

ещё остаётся образование, но не уверен, что оно нужно людям: судя по тому, что происходит на рынке, а особенно (снова и опять) - в русскоязычной среде - это всё напоминает какую-то неизлечимую болезнь, где большинство просто в упор не замечает очевидного: обсуждение одних и тех же "стратегий" чего стоит? а возврат к мемам?! а, грёбанный стыд, рассказы про DCA-универсум?! даже не знаю, сколько ещё всего можно перечислить. ограничусь одним словом: МНОГО.

впрочем, радует, что как раз последние 1.5 года в Synergis пришло достаточно толковых и разумных людей: значит - и здесь есть надежда. тем более что ИИ-контент обучающий без авторской нотки - всё равно что пластиковая каша из “Кин-Дза-Дзы” после ресторана с отменной кухней и сервисом. 

поэтому летом намерен много всего рассказать, на что раньше всегда не хватало времени, а теперь оно есть, как есть время дописать книги самостоятельно, но напечатать их с помощью ИИ; доработать важные для меня бесплатные сервисы, запустить полноценно MyShCh и, может, поделиться полным опытом по деривативному рынку ДеФи. 

одним словом, не знаю, как вы, но я крайне обрадован последними нововведениями в ИИ-сегменте: долго ли они продлятся? не знаю. но пока железо это горячо - кую как не в себя :) :: чего и вам желаю!
👍 10
💯 10
4
5 1.1K

Обсуждение 0

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

Обсудить в Telegram