- Kint
- ⧉⌕$arSection array (72)
- ⇄ID => string (3) "200"$arSection['ID']
- ⇄~ID => string (3) "200"$arSection['~ID']
- ⇄TIMESTAMP_X => string (19) "10.08.2022 16:43:24"$arSection['TIMESTAMP_X']
- ⇄~TIMESTAMP_X => string (19) "10.08.2022 16:43:24"$arSection['~TIMESTAMP_X']
- ⇄MODIFIED_BY => string (1) "6"$arSection['MODIFIED_BY']
- ⇄~MODIFIED_BY => string (1) "6"$arSection['~MODIFIED_BY']
- ⇄DATE_CREATE => string (19) "31.07.2018 12:45:38"$arSection['DATE_CREATE']
- ⇄~DATE_CREATE => string (19) "31.07.2018 12:45:38"$arSection['~DATE_CREATE']
- ⇄CREATED_BY => string (1) "6"$arSection['CREATED_BY']
- ⇄~CREATED_BY => string (1) "6"$arSection['~CREATED_BY']
- ⇄IBLOCK_ID => string (2) "26"$arSection['IBLOCK_ID']
- ⇄~IBLOCK_ID => string (2) "26"$arSection['~IBLOCK_ID']
- ⇄IBLOCK_SECTION_ID => string (3) "199"$arSection['IBLOCK_SECTION_ID']
- ⇄~IBLOCK_SECTION_ID => string (3) "199"$arSection['~IBLOCK_SECTION_ID']
- ⇄ACTIVE => string (1) "Y"$arSection['ACTIVE']
- ⇄~ACTIVE => string (1) "Y"$arSection['~ACTIVE']
- ⇄GLOBAL_ACTIVE => string (1) "Y"$arSection['GLOBAL_ACTIVE']
- ⇄~GLOBAL_ACTIVE => string (1) "Y"$arSection['~GLOBAL_ACTIVE']
- ⇄SORT => string (3) "180"$arSection['SORT']
- ⇄~SORT => string (3) "180"$arSection['~SORT']
- ⇄NAME => UTF-8 string (12) "Pagarinātāji"$arSection['NAME']
- ⇄~NAME => UTF-8 string (12) "Pagarinātāji"$arSection['~NAME']
- ⇄⧉PICTURE => array (19)$arSection['PICTURE']
- ⇄ID => string (5) "40391"$arSection['PICTURE']['ID']
- ⇄⧉TIMESTAMP_X => Bitrix\Main\Type\DateTime (1)$arSection['PICTURE']['TIMESTAMP_X']
- Properties
- Available methods (26)
- toString
- ⧉protected value -> DateTime (3) 2018-11-30 19:08:11+02:00 EET
- Properties (3)
- Available methods (19)
- Static class properties (13)
- public date -> string (26) "2018-11-30 19:08:11.000000"
- public timezone_type -> integer 3
- public timezone -> string (11) "Europe/Riga"
- public getTimezone()
- public getTimestamp()
- public setTimestamp($unixtimestamp)
- public setDate($year, $month, $day)
- public getOffset()
- public setTimezone($timezone)
- public sub($interval)
- public __wakeup()
- public add($interval)
- public modify($modify)
- public format($format)
- public diff($object, $absolute)
- ⇄public static getLastErrors()\DateTime::getLastErrors()
- ⇄public static createFromFormat($format, $time, DateTimeZone $object)\DateTime::createFromFormat($format, $time, DateTimeZone $object)
- ⇄public static createFromImmutable($DateTimeImmutable)\DateTime::createFromImmutable($DateTimeImmutable)
- public static __set_state(array $array)
- ⇄const ATOM :: string (13) "Y-m-d\TH:i:sP"\DateTime::ATOM
- ⇄const COOKIE :: string (16) "l, d-M-Y H:i:s T"\DateTime::COOKIE
- ⇄const ISO8601 :: string (13) "Y-m-d\TH:i:sO"\DateTime::ISO8601
- ⇄const RFC822 :: string (16) "D, d M y H:i:s O"\DateTime::RFC822
- ⇄const RFC850 :: string (16) "l, d-M-y H:i:s T"\DateTime::RFC850
- ⇄const RFC1036 :: string (16) "D, d M y H:i:s O"\DateTime::RFC1036
- ⇄const RFC1123 :: string (16) "D, d M Y H:i:s O"\DateTime::RFC1123
- ⇄const RFC7231 :: string (21) "D, d M Y H:i:s \G\M\T"\DateTime::RFC7231
- ⇄const RFC2822 :: string (16) "D, d M Y H:i:s O"\DateTime::RFC2822
- ⇄const RFC3339 :: string (13) "Y-m-d\TH:i:sP"\DateTime::RFC3339
- ⇄const RFC3339_EXTENDED :: string (15) "Y-m-d\TH:i:s.vP"\DateTime::RFC3339_EXTENDED
- ⇄const RSS :: string (16) "D, d M Y H:i:s O"\DateTime::RSS
- ⇄const W3C :: string (13) "Y-m-d\TH:i:sP"\DateTime::W3C
- ⇄const ATOM :: string (13) "Y-m-d\TH:i:sP"
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)new \Bitrix\Main\Type\DateTime($time = null, $format = null, DateTimeZone $timezone = null)
/** * @param string $time String representation of datetime. * @param string $format PHP datetime format. If not specified, the format is got from the current culture. * @param \DateTimeZone $timezone Optional timezone object. * * @throws Main\ObjectException */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:16
- ⇄⧉public toString(Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.$arSection['PICTURE']['TIMESTAMP_X']->toString(Bitrix\Main\Context\Culture $culture = null)
/** * Converts date to string, using Culture and global timezone settings. * * @param Context\Culture $culture Culture contains datetime format. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:82
- ⇄⧉public getTimeZone(): \DateTimeZone Returns timezone object.$arSection['PICTURE']['TIMESTAMP_X']->getTimeZone()
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:103
- ⇄⧉public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.$arSection['PICTURE']['TIMESTAMP_X']->setTimeZone(DateTimeZone $timezone)
/** * Sets timezone object. * * @param \DateTimeZone $timezone Timezone object. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:115
- ⇄⧉public setDefaultTimeZone(): DateTime Sets default timezone.$arSection['PICTURE']['TIMESTAMP_X']->setDefaultTimeZone()
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:126
- ⇄⧉public setTime($hour, $minute, $second0, $microseconds0): DateTime$arSection['PICTURE']['TIMESTAMP_X']->setTime($hour, $minute, $second0, $microseconds0)
/** * @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:141
- ⇄⧉public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.$arSection['PICTURE']['TIMESTAMP_X']->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:152
- ⇄⧉public format($format): string Formats date value to string.$arSection['PICTURE']['TIMESTAMP_X']->format($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:109
- ⇄⧉public __clone(): void Produces the copy of the object.clone $arSection['PICTURE']['TIMESTAMP_X']
/** * Produces the copy of the object. * * @return void */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:119
- ⇄⧉public add($interval): $this Performs dates arithmetic.$arSection['PICTURE']['TIMESTAMP_X']->add($interval)
/** * 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:144
- ⇄⧉public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.$arSection['PICTURE']['TIMESTAMP_X']->setDate($year, $month, $day)
/** * 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:165
- ⇄⧉public getTimestamp(): int Returns Unix timestamp from date.$arSection['PICTURE']['TIMESTAMP_X']->getTimestamp()
/** * Returns Unix timestamp from date. * * @return int */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:214
- ⇄⧉public getDiff(Bitrix\Main\Type\DateTime $time): \DateInterval Returns difference between dates.$arSection['PICTURE']['TIMESTAMP_X']->getDiff(Bitrix\Main\Type\DateTime $time)
/** * Returns difference between dates. * * @param DateTime $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:225
- ⇄⧉public __toString(): string Converts a date to the string with default culture format setting.(string) $arSection['PICTURE']['TIMESTAMP_X']
/** * 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:248
- ⧉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:52
- ⧉private tryToCreateIntervalByDesignators($interval)
Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:172
- ⇄⧉public static secondsToOffset($seconds)\Bitrix\Main\Type\DateTime::secondsToOffset($seconds)
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:67
- ⇄⧉public static createFromUserTime($timeString): DateTime Creates DateTime object from local user time using global timezone settings and ...\Bitrix\Main\Type\DateTime::createFromUserTime($timeString)
/** * 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:177
- ⇄⧉public static createFromPhp(DateTime $datetime): static Creates DateTime object from PHP \DateTime object.\Bitrix\Main\Type\DateTime::createFromPhp(DateTime $datetime)
/** * Creates DateTime object from PHP \DateTime object. * * @param \DateTime $datetime Source object. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:230
- ⇄⧉public static createFromTimestamp($timestamp): static Creates DateTime object from Unix timestamp.\Bitrix\Main\Type\DateTime::createFromTimestamp($timestamp)
/** * Creates DateTime object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:244
- ⇄⧉public static tryParse($timeString, $format = null): DateTime|null Creates DateTime object from string. NULL will be returned on failure.\Bitrix\Main\Type\DateTime::tryParse($timeString, $format = null)
/** * 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:258
- ⇄⧉public static getFormat(Bitrix\Main\Context\Culture $culture = null): string Returns a date format from the culture in the php format.\Bitrix\Main\Type\Date::getFormat(Bitrix\Main\Context\Culture $culture = null)
/** * Returns a date format from the culture in the php format. * * @param Context\Culture $culture Optional culture. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:260
- ⇄⧉public static convertFormatToPhp($format): mixed Converts date format from culture to php format.\Bitrix\Main\Type\Date::convertFormatToPhp($format)
/** * Converts date format from culture to php format. * * @param string $format Format string. * * @return mixed */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:305
- ⇄⧉public static isCorrect($time, $format = null): bool Checks the string for correct date (by trying to create Date object).\Bitrix\Main\Type\Date::isCorrect($time, $format = null)
/** * 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 */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:355
- ⇄⧉public static createFromText($text): DateTime|null Creates Date object from Text (return array of result object) Examples: "end of ...\Bitrix\Main\Type\Date::createFromText($text)
/** * 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 */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:413
- ⧉protected static 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 $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:214
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)
30.11.2018 19:08:11
- ⇄MODULE_ID => string (6) "iblock"$arSection['PICTURE']['MODULE_ID']
- ⇄HEIGHT => string (3) "417"$arSection['PICTURE']['HEIGHT']
- ⇄WIDTH => string (3) "600"$arSection['PICTURE']['WIDTH']
- ⇄FILE_SIZE => string (5) "89979"$arSection['PICTURE']['FILE_SIZE']
- ⇄CONTENT_TYPE => string (9) "image/gif"$arSection['PICTURE']['CONTENT_TYPE']
- ⇄SUBDIR => string (10) "iblock/527"$arSection['PICTURE']['SUBDIR']
- ⇄FILE_NAME => string (24) "7511600_816BD705C7E4.gif"$arSection['PICTURE']['FILE_NAME']
- ⇄ORIGINAL_NAME => string (24) "7511600_816BD705C7E4.gif"$arSection['PICTURE']['ORIGINAL_NAME']
- ⇄DESCRIPTION => string (0) ""$arSection['PICTURE']['DESCRIPTION']
- ⇄HANDLER_ID => null$arSection['PICTURE']['HANDLER_ID']
- ⇄EXTERNAL_ID => string (32) "d684ac41d3122cd28689fac765783194"$arSection['PICTURE']['EXTERNAL_ID']
- ⇄~src => boolean false$arSection['PICTURE']['~src']
- ⇄SRC => string (43) "/upload/iblock/527/7511600_816BD705C7E4.gif"$arSection['PICTURE']['SRC']
- ⇄UNSAFE_SRC => string (43) "/upload/iblock/527/7511600_816BD705C7E4.gif"$arSection['PICTURE']['UNSAFE_SRC']
- ⇄SAFE_SRC => string (43) "/upload/iblock/527/7511600_816BD705C7E4.gif"$arSection['PICTURE']['SAFE_SRC']
- ⇄ALT => UTF-8 string (12) "Pagarinātāji"$arSection['PICTURE']['ALT']
- ⇄TITLE => UTF-8 string (12) "Pagarinātāji"$arSection['PICTURE']['TITLE']
- ⇄ID => string (5) "40391"
- ⇄~PICTURE => string (5) "40391"$arSection['~PICTURE']
- ⇄LEFT_MARGIN => string (3) "246"$arSection['LEFT_MARGIN']
- ⇄~LEFT_MARGIN => string (3) "246"$arSection['~LEFT_MARGIN']
- ⇄RIGHT_MARGIN => string (3) "247"$arSection['RIGHT_MARGIN']
- ⇄~RIGHT_MARGIN => string (3) "247"$arSection['~RIGHT_MARGIN']
- ⇄DEPTH_LEVEL => string (1) "2"$arSection['DEPTH_LEVEL']
- ⇄~DEPTH_LEVEL => string (1) "2"$arSection['~DEPTH_LEVEL']
- ⇄DESCRIPTION => string (0) ""$arSection['DESCRIPTION']
- ⇄~DESCRIPTION => string (0) ""$arSection['~DESCRIPTION']
- ⇄DESCRIPTION_TYPE => string (4) "text"$arSection['DESCRIPTION_TYPE']
- ⇄~DESCRIPTION_TYPE => string (4) "text"$arSection['~DESCRIPTION_TYPE']
- ⇄⧉SEARCHABLE_CONTENT => UTF-8 string (14) "PAGARINĀTĀJI "$arSection['SEARCHABLE_CONTENT']
PAGARINĀTĀJI
- ⇄⧉~SEARCHABLE_CONTENT => UTF-8 string (14) "PAGARINĀTĀJI "$arSection['~SEARCHABLE_CONTENT']
PAGARINĀTĀJI
- ⇄CODE => string (14) "pagarinaataaji"$arSection['CODE']
- ⇄~CODE => string (14) "pagarinaataaji"$arSection['~CODE']
- ⇄XML_ID => string (36) "e1058b93-0c57-11e6-833c-000c297a2876"$arSection['XML_ID']
- ⇄~XML_ID => string (36) "e1058b93-0c57-11e6-833c-000c297a2876"$arSection['~XML_ID']
- ⇄TMP_ID => null$arSection['TMP_ID']
- ⇄~TMP_ID => null$arSection['~TMP_ID']
- ⇄DETAIL_PICTURE => null$arSection['DETAIL_PICTURE']
- ⇄~DETAIL_PICTURE => null$arSection['~DETAIL_PICTURE']
- ⇄SOCNET_GROUP_ID => null$arSection['SOCNET_GROUP_ID']
- ⇄~SOCNET_GROUP_ID => null$arSection['~SOCNET_GROUP_ID']
- ⇄NAME_EN => string (0) ""$arSection['NAME_EN']
- ⇄~NAME_EN => string (0) ""$arSection['~NAME_EN']
- ⇄NAME_RU => UTF-8 string (10) "Удлинители"$arSection['NAME_RU']
- ⇄~NAME_RU => UTF-8 string (10) "Удлинители"$arSection['~NAME_RU']
- ⇄DESCRIPTION_EN => string (0) ""$arSection['DESCRIPTION_EN']
- ⇄~DESCRIPTION_EN => string (0) ""$arSection['~DESCRIPTION_EN']
- ⇄DESCRIPTION_RU => string (0) ""$arSection['DESCRIPTION_RU']
- ⇄~DESCRIPTION_RU => string (0) ""$arSection['~DESCRIPTION_RU']
- ⇄LIST_PAGE_URL => string (8) "catalog/"$arSection['LIST_PAGE_URL']
- ⇄~LIST_PAGE_URL => string (8) "catalog/"$arSection['~LIST_PAGE_URL']
- ⇄SECTION_PAGE_URL => string (52) "/lv/catalog/datortehnikas_aksesuaari/pagarinaataaji/"$arSection['SECTION_PAGE_URL']
- ⇄~SECTION_PAGE_URL => string (52) "/lv/catalog/datortehnikas_aksesuaari/pagarinaataaji/"$arSection['~SECTION_PAGE_URL']
- ⇄IBLOCK_TYPE_ID => string (10) "xmlcatalog"$arSection['IBLOCK_TYPE_ID']
- ⇄~IBLOCK_TYPE_ID => string (10) "xmlcatalog"$arSection['~IBLOCK_TYPE_ID']
- ⇄IBLOCK_CODE => string (14) "estore-catalog"$arSection['IBLOCK_CODE']
- ⇄~IBLOCK_CODE => string (14) "estore-catalog"$arSection['~IBLOCK_CODE']
- ⇄IBLOCK_EXTERNAL_ID => string (47) "xmlcatalog-3f9fc72e-b824-11e3-b952-d43d7e49b8c5"$arSection['IBLOCK_EXTERNAL_ID']
- ⇄~IBLOCK_EXTERNAL_ID => string (47) "xmlcatalog-3f9fc72e-b824-11e3-b952-d43d7e49b8c5"$arSection['~IBLOCK_EXTERNAL_ID']
- ⇄EXTERNAL_ID => string (36) "e1058b93-0c57-11e6-833c-000c297a2876"$arSection['EXTERNAL_ID']
- ⇄~EXTERNAL_ID => string (36) "e1058b93-0c57-11e6-833c-000c297a2876"$arSection['~EXTERNAL_ID']
- ⇄RELATIVE_DEPTH_LEVEL => integer 1$arSection['RELATIVE_DEPTH_LEVEL']
- ⇄EDIT_LINK => null$arSection['EDIT_LINK']
- ⇄DELETE_LINK => null$arSection['DELETE_LINK']
- ⇄~ELEMENT_CNT => string (1) "6"$arSection['~ELEMENT_CNT']
- ⇄ELEMENT_CNT => string (1) "6"$arSection['ELEMENT_CNT']
- ⇄IPROPERTY_VALUES => array (0)$arSection['IPROPERTY_VALUES']
- ⇄ID => string (3) "200"
- ⧉⌕$arSection array (72)
- ⇄ID => string (3) "201"$arSection['ID']
- ⇄~ID => string (3) "201"$arSection['~ID']
- ⇄TIMESTAMP_X => string (19) "12.08.2020 19:01:18"$arSection['TIMESTAMP_X']
- ⇄~TIMESTAMP_X => string (19) "12.08.2020 19:01:18"$arSection['~TIMESTAMP_X']
- ⇄MODIFIED_BY => string (1) "6"$arSection['MODIFIED_BY']
- ⇄~MODIFIED_BY => string (1) "6"$arSection['~MODIFIED_BY']
- ⇄DATE_CREATE => string (19) "31.07.2018 12:45:38"$arSection['DATE_CREATE']
- ⇄~DATE_CREATE => string (19) "31.07.2018 12:45:38"$arSection['~DATE_CREATE']
- ⇄CREATED_BY => string (1) "6"$arSection['CREATED_BY']
- ⇄~CREATED_BY => string (1) "6"$arSection['~CREATED_BY']
- ⇄IBLOCK_ID => string (2) "26"$arSection['IBLOCK_ID']
- ⇄~IBLOCK_ID => string (2) "26"$arSection['~IBLOCK_ID']
- ⇄IBLOCK_SECTION_ID => string (3) "199"$arSection['IBLOCK_SECTION_ID']
- ⇄~IBLOCK_SECTION_ID => string (3) "199"$arSection['~IBLOCK_SECTION_ID']
- ⇄ACTIVE => string (1) "Y"$arSection['ACTIVE']
- ⇄~ACTIVE => string (1) "Y"$arSection['~ACTIVE']
- ⇄GLOBAL_ACTIVE => string (1) "Y"$arSection['GLOBAL_ACTIVE']
- ⇄~GLOBAL_ACTIVE => string (1) "Y"$arSection['~GLOBAL_ACTIVE']
- ⇄SORT => string (3) "190"$arSection['SORT']
- ⇄~SORT => string (3) "190"$arSection['~SORT']
- ⇄NAME => UTF-8 string (29) "Atmiņas karšu, diskešu kastes"$arSection['NAME']
- ⇄~NAME => UTF-8 string (29) "Atmiņas karšu, diskešu kastes"$arSection['~NAME']
- ⇄⧉PICTURE => array (19)$arSection['PICTURE']
- ⇄ID => string (5) "40392"$arSection['PICTURE']['ID']
- ⇄⧉TIMESTAMP_X => Bitrix\Main\Type\DateTime (1)$arSection['PICTURE']['TIMESTAMP_X']
- Properties
- Available methods (26)
- toString
- ⧉protected value -> DateTime (3) 2018-11-30 19:08:32+02:00 EET
- Properties (3)
- Available methods (19)
- Static class properties (13)
- public date -> string (26) "2018-11-30 19:08:32.000000"
- public timezone_type -> integer 3
- public timezone -> string (11) "Europe/Riga"
- public getTimezone()
- public getTimestamp()
- public setTimestamp($unixtimestamp)
- public setDate($year, $month, $day)
- public getOffset()
- public setTimezone($timezone)
- public sub($interval)
- public __wakeup()
- public add($interval)
- public modify($modify)
- public format($format)
- public diff($object, $absolute)
- ⇄public static getLastErrors()\DateTime::getLastErrors()
- ⇄public static createFromFormat($format, $time, DateTimeZone $object)\DateTime::createFromFormat($format, $time, DateTimeZone $object)
- ⇄public static createFromImmutable($DateTimeImmutable)\DateTime::createFromImmutable($DateTimeImmutable)
- public static __set_state(array $array)
- ⇄const ATOM :: string (13) "Y-m-d\TH:i:sP"\DateTime::ATOM
- ⇄const COOKIE :: string (16) "l, d-M-Y H:i:s T"\DateTime::COOKIE
- ⇄const ISO8601 :: string (13) "Y-m-d\TH:i:sO"\DateTime::ISO8601
- ⇄const RFC822 :: string (16) "D, d M y H:i:s O"\DateTime::RFC822
- ⇄const RFC850 :: string (16) "l, d-M-y H:i:s T"\DateTime::RFC850
- ⇄const RFC1036 :: string (16) "D, d M y H:i:s O"\DateTime::RFC1036
- ⇄const RFC1123 :: string (16) "D, d M Y H:i:s O"\DateTime::RFC1123
- ⇄const RFC7231 :: string (21) "D, d M Y H:i:s \G\M\T"\DateTime::RFC7231
- ⇄const RFC2822 :: string (16) "D, d M Y H:i:s O"\DateTime::RFC2822
- ⇄const RFC3339 :: string (13) "Y-m-d\TH:i:sP"\DateTime::RFC3339
- ⇄const RFC3339_EXTENDED :: string (15) "Y-m-d\TH:i:s.vP"\DateTime::RFC3339_EXTENDED
- ⇄const RSS :: string (16) "D, d M Y H:i:s O"\DateTime::RSS
- ⇄const W3C :: string (13) "Y-m-d\TH:i:sP"\DateTime::W3C
- ⇄const ATOM :: string (13) "Y-m-d\TH:i:sP"
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)new \Bitrix\Main\Type\DateTime($time = null, $format = null, DateTimeZone $timezone = null)
/** * @param string $time String representation of datetime. * @param string $format PHP datetime format. If not specified, the format is got from the current culture. * @param \DateTimeZone $timezone Optional timezone object. * * @throws Main\ObjectException */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:16
- ⇄⧉public toString(Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.$arSection['PICTURE']['TIMESTAMP_X']->toString(Bitrix\Main\Context\Culture $culture = null)
/** * Converts date to string, using Culture and global timezone settings. * * @param Context\Culture $culture Culture contains datetime format. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:82
- ⇄⧉public getTimeZone(): \DateTimeZone Returns timezone object.$arSection['PICTURE']['TIMESTAMP_X']->getTimeZone()
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:103
- ⇄⧉public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.$arSection['PICTURE']['TIMESTAMP_X']->setTimeZone(DateTimeZone $timezone)
/** * Sets timezone object. * * @param \DateTimeZone $timezone Timezone object. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:115
- ⇄⧉public setDefaultTimeZone(): DateTime Sets default timezone.$arSection['PICTURE']['TIMESTAMP_X']->setDefaultTimeZone()
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:126
- ⇄⧉public setTime($hour, $minute, $second0, $microseconds0): DateTime$arSection['PICTURE']['TIMESTAMP_X']->setTime($hour, $minute, $second0, $microseconds0)
/** * @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:141
- ⇄⧉public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.$arSection['PICTURE']['TIMESTAMP_X']->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:152
- ⇄⧉public format($format): string Formats date value to string.$arSection['PICTURE']['TIMESTAMP_X']->format($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:109
- ⇄⧉public __clone(): void Produces the copy of the object.clone $arSection['PICTURE']['TIMESTAMP_X']
/** * Produces the copy of the object. * * @return void */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:119
- ⇄⧉public add($interval): $this Performs dates arithmetic.$arSection['PICTURE']['TIMESTAMP_X']->add($interval)
/** * 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:144
- ⇄⧉public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.$arSection['PICTURE']['TIMESTAMP_X']->setDate($year, $month, $day)
/** * 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:165
- ⇄⧉public getTimestamp(): int Returns Unix timestamp from date.$arSection['PICTURE']['TIMESTAMP_X']->getTimestamp()
/** * Returns Unix timestamp from date. * * @return int */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:214
- ⇄⧉public getDiff(Bitrix\Main\Type\DateTime $time): \DateInterval Returns difference between dates.$arSection['PICTURE']['TIMESTAMP_X']->getDiff(Bitrix\Main\Type\DateTime $time)
/** * Returns difference between dates. * * @param DateTime $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:225
- ⇄⧉public __toString(): string Converts a date to the string with default culture format setting.(string) $arSection['PICTURE']['TIMESTAMP_X']
/** * 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:248
- ⧉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:52
- ⧉private tryToCreateIntervalByDesignators($interval)
Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:172
- ⇄⧉public static secondsToOffset($seconds)\Bitrix\Main\Type\DateTime::secondsToOffset($seconds)
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:67
- ⇄⧉public static createFromUserTime($timeString): DateTime Creates DateTime object from local user time using global timezone settings and ...\Bitrix\Main\Type\DateTime::createFromUserTime($timeString)
/** * 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:177
- ⇄⧉public static createFromPhp(DateTime $datetime): static Creates DateTime object from PHP \DateTime object.\Bitrix\Main\Type\DateTime::createFromPhp(DateTime $datetime)
/** * Creates DateTime object from PHP \DateTime object. * * @param \DateTime $datetime Source object. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:230
- ⇄⧉public static createFromTimestamp($timestamp): static Creates DateTime object from Unix timestamp.\Bitrix\Main\Type\DateTime::createFromTimestamp($timestamp)
/** * Creates DateTime object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:244
- ⇄⧉public static tryParse($timeString, $format = null): DateTime|null Creates DateTime object from string. NULL will be returned on failure.\Bitrix\Main\Type\DateTime::tryParse($timeString, $format = null)
/** * 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:258
- ⇄⧉public static getFormat(Bitrix\Main\Context\Culture $culture = null): string Returns a date format from the culture in the php format.\Bitrix\Main\Type\Date::getFormat(Bitrix\Main\Context\Culture $culture = null)
/** * Returns a date format from the culture in the php format. * * @param Context\Culture $culture Optional culture. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:260
- ⇄⧉public static convertFormatToPhp($format): mixed Converts date format from culture to php format.\Bitrix\Main\Type\Date::convertFormatToPhp($format)
/** * Converts date format from culture to php format. * * @param string $format Format string. * * @return mixed */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:305
- ⇄⧉public static isCorrect($time, $format = null): bool Checks the string for correct date (by trying to create Date object).\Bitrix\Main\Type\Date::isCorrect($time, $format = null)
/** * 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 */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:355
- ⇄⧉public static createFromText($text): DateTime|null Creates Date object from Text (return array of result object) Examples: "end of ...\Bitrix\Main\Type\Date::createFromText($text)
/** * 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 */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:413
- ⧉protected static 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 $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:214
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)
30.11.2018 19:08:32
- ⇄MODULE_ID => string (6) "iblock"$arSection['PICTURE']['MODULE_ID']
- ⇄HEIGHT => string (3) "574"$arSection['PICTURE']['HEIGHT']
- ⇄WIDTH => string (3) "600"$arSection['PICTURE']['WIDTH']
- ⇄FILE_SIZE => string (5) "94485"$arSection['PICTURE']['FILE_SIZE']
- ⇄CONTENT_TYPE => string (9) "image/gif"$arSection['PICTURE']['CONTENT_TYPE']
- ⇄SUBDIR => string (10) "iblock/d20"$arSection['PICTURE']['SUBDIR']
- ⇄FILE_NAME => string (24) "7192100_816BD705C7EC.gif"$arSection['PICTURE']['FILE_NAME']
- ⇄ORIGINAL_NAME => string (24) "7192100_816BD705C7EC.gif"$arSection['PICTURE']['ORIGINAL_NAME']
- ⇄DESCRIPTION => string (0) ""$arSection['PICTURE']['DESCRIPTION']
- ⇄HANDLER_ID => null$arSection['PICTURE']['HANDLER_ID']
- ⇄EXTERNAL_ID => string (32) "2a227fd9391e813a288fa8d69110a475"$arSection['PICTURE']['EXTERNAL_ID']
- ⇄~src => boolean false$arSection['PICTURE']['~src']
- ⇄SRC => string (43) "/upload/iblock/d20/7192100_816BD705C7EC.gif"$arSection['PICTURE']['SRC']
- ⇄UNSAFE_SRC => string (43) "/upload/iblock/d20/7192100_816BD705C7EC.gif"$arSection['PICTURE']['UNSAFE_SRC']
- ⇄SAFE_SRC => string (43) "/upload/iblock/d20/7192100_816BD705C7EC.gif"$arSection['PICTURE']['SAFE_SRC']
- ⇄ALT => UTF-8 string (29) "Atmiņas karšu, diskešu kastes"$arSection['PICTURE']['ALT']
- ⇄TITLE => UTF-8 string (29) "Atmiņas karšu, diskešu kastes"$arSection['PICTURE']['TITLE']
- ⇄ID => string (5) "40392"
- ⇄~PICTURE => string (5) "40392"$arSection['~PICTURE']
- ⇄LEFT_MARGIN => string (3) "248"$arSection['LEFT_MARGIN']
- ⇄~LEFT_MARGIN => string (3) "248"$arSection['~LEFT_MARGIN']
- ⇄RIGHT_MARGIN => string (3) "249"$arSection['RIGHT_MARGIN']
- ⇄~RIGHT_MARGIN => string (3) "249"$arSection['~RIGHT_MARGIN']
- ⇄DEPTH_LEVEL => string (1) "2"$arSection['DEPTH_LEVEL']
- ⇄~DEPTH_LEVEL => string (1) "2"$arSection['~DEPTH_LEVEL']
- ⇄DESCRIPTION => string (0) ""$arSection['DESCRIPTION']
- ⇄~DESCRIPTION => string (0) ""$arSection['~DESCRIPTION']
- ⇄DESCRIPTION_TYPE => string (4) "text"$arSection['DESCRIPTION_TYPE']
- ⇄~DESCRIPTION_TYPE => string (4) "text"$arSection['~DESCRIPTION_TYPE']
- ⇄⧉SEARCHABLE_CONTENT => UTF-8 string (31) "ATMIŅAS KARŠU, DISKEŠU KASTES "$arSection['SEARCHABLE_CONTENT']
ATMIŅAS KARŠU, DISKEŠU KASTES
- ⇄⧉~SEARCHABLE_CONTENT => UTF-8 string (31) "ATMIŅAS KARŠU, DISKEŠU KASTES "$arSection['~SEARCHABLE_CONTENT']
ATMIŅAS KARŠU, DISKEŠU KASTES
- ⇄CODE => string (30) "atminas_karshu_diskeshu_kastes"$arSection['CODE']
- ⇄~CODE => string (30) "atminas_karshu_diskeshu_kastes"$arSection['~CODE']
- ⇄XML_ID => string (36) "e1058b94-0c57-11e6-833c-000c297a2876"$arSection['XML_ID']
- ⇄~XML_ID => string (36) "e1058b94-0c57-11e6-833c-000c297a2876"$arSection['~XML_ID']
- ⇄TMP_ID => null$arSection['TMP_ID']
- ⇄~TMP_ID => null$arSection['~TMP_ID']
- ⇄DETAIL_PICTURE => null$arSection['DETAIL_PICTURE']
- ⇄~DETAIL_PICTURE => null$arSection['~DETAIL_PICTURE']
- ⇄SOCNET_GROUP_ID => null$arSection['SOCNET_GROUP_ID']
- ⇄~SOCNET_GROUP_ID => null$arSection['~SOCNET_GROUP_ID']
- ⇄NAME_EN => string (0) ""$arSection['NAME_EN']
- ⇄~NAME_EN => string (0) ""$arSection['~NAME_EN']
- ⇄NAME_RU => string (0) ""$arSection['NAME_RU']
- ⇄~NAME_RU => string (0) ""$arSection['~NAME_RU']
- ⇄DESCRIPTION_EN => string (0) ""$arSection['DESCRIPTION_EN']
- ⇄~DESCRIPTION_EN => string (0) ""$arSection['~DESCRIPTION_EN']
- ⇄DESCRIPTION_RU => string (0) ""$arSection['DESCRIPTION_RU']
- ⇄~DESCRIPTION_RU => string (0) ""$arSection['~DESCRIPTION_RU']
- ⇄LIST_PAGE_URL => string (8) "catalog/"$arSection['LIST_PAGE_URL']
- ⇄~LIST_PAGE_URL => string (8) "catalog/"$arSection['~LIST_PAGE_URL']
- ⇄SECTION_PAGE_URL => string (68) "/lv/catalog/datortehnikas_aksesuaari/atminas_karshu_diskeshu_kastes/"$arSection['SECTION_PAGE_URL']
- ⇄~SECTION_PAGE_URL => string (68) "/lv/catalog/datortehnikas_aksesuaari/atminas_karshu_diskeshu_kastes/"$arSection['~SECTION_PAGE_URL']
- ⇄IBLOCK_TYPE_ID => string (10) "xmlcatalog"$arSection['IBLOCK_TYPE_ID']
- ⇄~IBLOCK_TYPE_ID => string (10) "xmlcatalog"$arSection['~IBLOCK_TYPE_ID']
- ⇄IBLOCK_CODE => string (14) "estore-catalog"$arSection['IBLOCK_CODE']
- ⇄~IBLOCK_CODE => string (14) "estore-catalog"$arSection['~IBLOCK_CODE']
- ⇄IBLOCK_EXTERNAL_ID => string (47) "xmlcatalog-3f9fc72e-b824-11e3-b952-d43d7e49b8c5"$arSection['IBLOCK_EXTERNAL_ID']
- ⇄~IBLOCK_EXTERNAL_ID => string (47) "xmlcatalog-3f9fc72e-b824-11e3-b952-d43d7e49b8c5"$arSection['~IBLOCK_EXTERNAL_ID']
- ⇄EXTERNAL_ID => string (36) "e1058b94-0c57-11e6-833c-000c297a2876"$arSection['EXTERNAL_ID']
- ⇄~EXTERNAL_ID => string (36) "e1058b94-0c57-11e6-833c-000c297a2876"$arSection['~EXTERNAL_ID']
- ⇄RELATIVE_DEPTH_LEVEL => integer 1$arSection['RELATIVE_DEPTH_LEVEL']
- ⇄EDIT_LINK => null$arSection['EDIT_LINK']
- ⇄DELETE_LINK => null$arSection['DELETE_LINK']
- ⇄~ELEMENT_CNT => string (1) "0"$arSection['~ELEMENT_CNT']
- ⇄ELEMENT_CNT => string (1) "0"$arSection['ELEMENT_CNT']
- ⇄IPROPERTY_VALUES => array (0)$arSection['IPROPERTY_VALUES']
- ⇄ID => string (3) "201"
- ⧉⌕$arSection array (72)
- ⇄ID => string (3) "202"$arSection['ID']
- ⇄~ID => string (3) "202"$arSection['~ID']
- ⇄TIMESTAMP_X => string (19) "03.08.2022 17:14:48"$arSection['TIMESTAMP_X']
- ⇄~TIMESTAMP_X => string (19) "03.08.2022 17:14:48"$arSection['~TIMESTAMP_X']
- ⇄MODIFIED_BY => string (1) "6"$arSection['MODIFIED_BY']
- ⇄~MODIFIED_BY => string (1) "6"$arSection['~MODIFIED_BY']
- ⇄DATE_CREATE => string (19) "31.07.2018 12:45:38"$arSection['DATE_CREATE']
- ⇄~DATE_CREATE => string (19) "31.07.2018 12:45:38"$arSection['~DATE_CREATE']
- ⇄CREATED_BY => string (1) "6"$arSection['CREATED_BY']
- ⇄~CREATED_BY => string (1) "6"$arSection['~CREATED_BY']
- ⇄IBLOCK_ID => string (2) "26"$arSection['IBLOCK_ID']
- ⇄~IBLOCK_ID => string (2) "26"$arSection['~IBLOCK_ID']
- ⇄IBLOCK_SECTION_ID => string (3) "199"$arSection['IBLOCK_SECTION_ID']
- ⇄~IBLOCK_SECTION_ID => string (3) "199"$arSection['~IBLOCK_SECTION_ID']
- ⇄ACTIVE => string (1) "Y"$arSection['ACTIVE']
- ⇄~ACTIVE => string (1) "Y"$arSection['~ACTIVE']
- ⇄GLOBAL_ACTIVE => string (1) "Y"$arSection['GLOBAL_ACTIVE']
- ⇄~GLOBAL_ACTIVE => string (1) "Y"$arSection['~GLOBAL_ACTIVE']
- ⇄SORT => string (3) "200"$arSection['SORT']
- ⇄~SORT => string (3) "200"$arSection['~SORT']
- ⇄NAME => UTF-8 string (41) "Kabatas, paliktni, futrāļi CD/DVD diskiem"$arSection['NAME']
- ⇄~NAME => UTF-8 string (41) "Kabatas, paliktni, futrāļi CD/DVD diskiem"$arSection['~NAME']
- ⇄⧉PICTURE => array (19)$arSection['PICTURE']
- ⇄ID => string (5) "40393"$arSection['PICTURE']['ID']
- ⇄⧉TIMESTAMP_X => Bitrix\Main\Type\DateTime (1)$arSection['PICTURE']['TIMESTAMP_X']
- Properties
- Available methods (26)
- toString
- ⧉protected value -> DateTime (3) 2018-11-30 19:08:51+02:00 EET
- Properties (3)
- Available methods (19)
- Static class properties (13)
- public date -> string (26) "2018-11-30 19:08:51.000000"
- public timezone_type -> integer 3
- public timezone -> string (11) "Europe/Riga"
- public getTimezone()
- public getTimestamp()
- public setTimestamp($unixtimestamp)
- public setDate($year, $month, $day)
- public getOffset()
- public setTimezone($timezone)
- public sub($interval)
- public __wakeup()
- public add($interval)
- public modify($modify)
- public format($format)
- public diff($object, $absolute)
- ⇄public static getLastErrors()\DateTime::getLastErrors()
- ⇄public static createFromFormat($format, $time, DateTimeZone $object)\DateTime::createFromFormat($format, $time, DateTimeZone $object)
- ⇄public static createFromImmutable($DateTimeImmutable)\DateTime::createFromImmutable($DateTimeImmutable)
- public static __set_state(array $array)
- ⇄const ATOM :: string (13) "Y-m-d\TH:i:sP"\DateTime::ATOM
- ⇄const COOKIE :: string (16) "l, d-M-Y H:i:s T"\DateTime::COOKIE
- ⇄const ISO8601 :: string (13) "Y-m-d\TH:i:sO"\DateTime::ISO8601
- ⇄const RFC822 :: string (16) "D, d M y H:i:s O"\DateTime::RFC822
- ⇄const RFC850 :: string (16) "l, d-M-y H:i:s T"\DateTime::RFC850
- ⇄const RFC1036 :: string (16) "D, d M y H:i:s O"\DateTime::RFC1036
- ⇄const RFC1123 :: string (16) "D, d M Y H:i:s O"\DateTime::RFC1123
- ⇄const RFC7231 :: string (21) "D, d M Y H:i:s \G\M\T"\DateTime::RFC7231
- ⇄const RFC2822 :: string (16) "D, d M Y H:i:s O"\DateTime::RFC2822
- ⇄const RFC3339 :: string (13) "Y-m-d\TH:i:sP"\DateTime::RFC3339
- ⇄const RFC3339_EXTENDED :: string (15) "Y-m-d\TH:i:s.vP"\DateTime::RFC3339_EXTENDED
- ⇄const RSS :: string (16) "D, d M Y H:i:s O"\DateTime::RSS
- ⇄const W3C :: string (13) "Y-m-d\TH:i:sP"\DateTime::W3C
- ⇄const ATOM :: string (13) "Y-m-d\TH:i:sP"
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)new \Bitrix\Main\Type\DateTime($time = null, $format = null, DateTimeZone $timezone = null)
/** * @param string $time String representation of datetime. * @param string $format PHP datetime format. If not specified, the format is got from the current culture. * @param \DateTimeZone $timezone Optional timezone object. * * @throws Main\ObjectException */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:16
- ⇄⧉public toString(Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.$arSection['PICTURE']['TIMESTAMP_X']->toString(Bitrix\Main\Context\Culture $culture = null)
/** * Converts date to string, using Culture and global timezone settings. * * @param Context\Culture $culture Culture contains datetime format. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:82
- ⇄⧉public getTimeZone(): \DateTimeZone Returns timezone object.$arSection['PICTURE']['TIMESTAMP_X']->getTimeZone()
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:103
- ⇄⧉public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.$arSection['PICTURE']['TIMESTAMP_X']->setTimeZone(DateTimeZone $timezone)
/** * Sets timezone object. * * @param \DateTimeZone $timezone Timezone object. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:115
- ⇄⧉public setDefaultTimeZone(): DateTime Sets default timezone.$arSection['PICTURE']['TIMESTAMP_X']->setDefaultTimeZone()
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:126
- ⇄⧉public setTime($hour, $minute, $second0, $microseconds0): DateTime$arSection['PICTURE']['TIMESTAMP_X']->setTime($hour, $minute, $second0, $microseconds0)
/** * @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:141
- ⇄⧉public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.$arSection['PICTURE']['TIMESTAMP_X']->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:152
- ⇄⧉public format($format): string Formats date value to string.$arSection['PICTURE']['TIMESTAMP_X']->format($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:109
- ⇄⧉public __clone(): void Produces the copy of the object.clone $arSection['PICTURE']['TIMESTAMP_X']
/** * Produces the copy of the object. * * @return void */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:119
- ⇄⧉public add($interval): $this Performs dates arithmetic.$arSection['PICTURE']['TIMESTAMP_X']->add($interval)
/** * 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:144
- ⇄⧉public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.$arSection['PICTURE']['TIMESTAMP_X']->setDate($year, $month, $day)
/** * 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:165
- ⇄⧉public getTimestamp(): int Returns Unix timestamp from date.$arSection['PICTURE']['TIMESTAMP_X']->getTimestamp()
/** * Returns Unix timestamp from date. * * @return int */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:214
- ⇄⧉public getDiff(Bitrix\Main\Type\DateTime $time): \DateInterval Returns difference between dates.$arSection['PICTURE']['TIMESTAMP_X']->getDiff(Bitrix\Main\Type\DateTime $time)
/** * Returns difference between dates. * * @param DateTime $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:225
- ⇄⧉public __toString(): string Converts a date to the string with default culture format setting.(string) $arSection['PICTURE']['TIMESTAMP_X']
/** * 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:248
- ⧉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:52
- ⧉private tryToCreateIntervalByDesignators($interval)
Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:172
- ⇄⧉public static secondsToOffset($seconds)\Bitrix\Main\Type\DateTime::secondsToOffset($seconds)
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:67
- ⇄⧉public static createFromUserTime($timeString): DateTime Creates DateTime object from local user time using global timezone settings and ...\Bitrix\Main\Type\DateTime::createFromUserTime($timeString)
/** * 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:177
- ⇄⧉public static createFromPhp(DateTime $datetime): static Creates DateTime object from PHP \DateTime object.\Bitrix\Main\Type\DateTime::createFromPhp(DateTime $datetime)
/** * Creates DateTime object from PHP \DateTime object. * * @param \DateTime $datetime Source object. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:230
- ⇄⧉public static createFromTimestamp($timestamp): static Creates DateTime object from Unix timestamp.\Bitrix\Main\Type\DateTime::createFromTimestamp($timestamp)
/** * Creates DateTime object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:244
- ⇄⧉public static tryParse($timeString, $format = null): DateTime|null Creates DateTime object from string. NULL will be returned on failure.\Bitrix\Main\Type\DateTime::tryParse($timeString, $format = null)
/** * 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:258
- ⇄⧉public static getFormat(Bitrix\Main\Context\Culture $culture = null): string Returns a date format from the culture in the php format.\Bitrix\Main\Type\Date::getFormat(Bitrix\Main\Context\Culture $culture = null)
/** * Returns a date format from the culture in the php format. * * @param Context\Culture $culture Optional culture. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:260
- ⇄⧉public static convertFormatToPhp($format): mixed Converts date format from culture to php format.\Bitrix\Main\Type\Date::convertFormatToPhp($format)
/** * Converts date format from culture to php format. * * @param string $format Format string. * * @return mixed */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:305
- ⇄⧉public static isCorrect($time, $format = null): bool Checks the string for correct date (by trying to create Date object).\Bitrix\Main\Type\Date::isCorrect($time, $format = null)
/** * 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 */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:355
- ⇄⧉public static createFromText($text): DateTime|null Creates Date object from Text (return array of result object) Examples: "end of ...\Bitrix\Main\Type\Date::createFromText($text)
/** * 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 */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:413
- ⧉protected static 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 $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:214
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)
30.11.2018 19:08:51
- ⇄MODULE_ID => string (6) "iblock"$arSection['PICTURE']['MODULE_ID']
- ⇄HEIGHT => string (3) "475"$arSection['PICTURE']['HEIGHT']
- ⇄WIDTH => string (3) "600"$arSection['PICTURE']['WIDTH']
- ⇄FILE_SIZE => string (5) "62153"$arSection['PICTURE']['FILE_SIZE']
- ⇄CONTENT_TYPE => string (9) "image/gif"$arSection['PICTURE']['CONTENT_TYPE']
- ⇄SUBDIR => string (10) "iblock/98b"$arSection['PICTURE']['SUBDIR']
- ⇄FILE_NAME => string (24) "7504050_816BD705C7F0.gif"$arSection['PICTURE']['FILE_NAME']
- ⇄ORIGINAL_NAME => string (24) "7504050_816BD705C7F0.gif"$arSection['PICTURE']['ORIGINAL_NAME']
- ⇄DESCRIPTION => string (0) ""$arSection['PICTURE']['DESCRIPTION']
- ⇄HANDLER_ID => null$arSection['PICTURE']['HANDLER_ID']
- ⇄EXTERNAL_ID => string (32) "2114e70e698a2e10ee95845e8b0e604c"$arSection['PICTURE']['EXTERNAL_ID']
- ⇄~src => boolean false$arSection['PICTURE']['~src']
- ⇄SRC => string (43) "/upload/iblock/98b/7504050_816BD705C7F0.gif"$arSection['PICTURE']['SRC']
- ⇄UNSAFE_SRC => string (43) "/upload/iblock/98b/7504050_816BD705C7F0.gif"$arSection['PICTURE']['UNSAFE_SRC']
- ⇄SAFE_SRC => string (43) "/upload/iblock/98b/7504050_816BD705C7F0.gif"$arSection['PICTURE']['SAFE_SRC']
- ⇄ALT => UTF-8 string (41) "Kabatas, paliktni, futrāļi CD/DVD diskiem"$arSection['PICTURE']['ALT']
- ⇄TITLE => UTF-8 string (41) "Kabatas, paliktni, futrāļi CD/DVD diskiem"$arSection['PICTURE']['TITLE']
- ⇄ID => string (5) "40393"
- ⇄~PICTURE => string (5) "40393"$arSection['~PICTURE']
- ⇄LEFT_MARGIN => string (3) "250"$arSection['LEFT_MARGIN']
- ⇄~LEFT_MARGIN => string (3) "250"$arSection['~LEFT_MARGIN']
- ⇄RIGHT_MARGIN => string (3) "251"$arSection['RIGHT_MARGIN']
- ⇄~RIGHT_MARGIN => string (3) "251"$arSection['~RIGHT_MARGIN']
- ⇄DEPTH_LEVEL => string (1) "2"$arSection['DEPTH_LEVEL']
- ⇄~DEPTH_LEVEL => string (1) "2"$arSection['~DEPTH_LEVEL']
- ⇄DESCRIPTION => string (0) ""$arSection['DESCRIPTION']
- ⇄~DESCRIPTION => string (0) ""$arSection['~DESCRIPTION']
- ⇄DESCRIPTION_TYPE => string (4) "text"$arSection['DESCRIPTION_TYPE']
- ⇄~DESCRIPTION_TYPE => string (4) "text"$arSection['~DESCRIPTION_TYPE']
- ⇄⧉SEARCHABLE_CONTENT => UTF-8 string (43) "KABATAS, PALIKTNI, FUTRĀĻI CD/DVD DISKIEM "$arSection['SEARCHABLE_CONTENT']
KABATAS, PALIKTNI, FUTRĀĻI CD/DVD DISKIEM
- ⇄⧉~SEARCHABLE_CONTENT => UTF-8 string (43) "KABATAS, PALIKTNI, FUTRĀĻI CD/DVD DISKIEM "$arSection['~SEARCHABLE_CONTENT']
KABATAS, PALIKTNI, FUTRĀĻI CD/DVD DISKIEM
- ⇄CODE => string (41) "kabatas_paliktni_futraalji_cd_dvd_diskiem"$arSection['CODE']
- ⇄~CODE => string (41) "kabatas_paliktni_futraalji_cd_dvd_diskiem"$arSection['~CODE']
- ⇄XML_ID => string (36) "e1058b95-0c57-11e6-833c-000c297a2876"$arSection['XML_ID']
- ⇄~XML_ID => string (36) "e1058b95-0c57-11e6-833c-000c297a2876"$arSection['~XML_ID']
- ⇄TMP_ID => null$arSection['TMP_ID']
- ⇄~TMP_ID => null$arSection['~TMP_ID']
- ⇄DETAIL_PICTURE => null$arSection['DETAIL_PICTURE']
- ⇄~DETAIL_PICTURE => null$arSection['~DETAIL_PICTURE']
- ⇄SOCNET_GROUP_ID => null$arSection['SOCNET_GROUP_ID']
- ⇄~SOCNET_GROUP_ID => null$arSection['~SOCNET_GROUP_ID']
- ⇄NAME_EN => string (0) ""$arSection['NAME_EN']
- ⇄~NAME_EN => string (0) ""$arSection['~NAME_EN']
- ⇄NAME_RU => UTF-8 string (46) "Кармашки, подставки, футляры для CD/DVD дисков"$arSection['NAME_RU']
- ⇄~NAME_RU => UTF-8 string (46) "Кармашки, подставки, футляры для CD/DVD дисков"$arSection['~NAME_RU']
- ⇄DESCRIPTION_EN => string (0) ""$arSection['DESCRIPTION_EN']
- ⇄~DESCRIPTION_EN => string (0) ""$arSection['~DESCRIPTION_EN']
- ⇄DESCRIPTION_RU => string (0) ""$arSection['DESCRIPTION_RU']
- ⇄~DESCRIPTION_RU => string (0) ""$arSection['~DESCRIPTION_RU']
- ⇄LIST_PAGE_URL => string (8) "catalog/"$arSection['LIST_PAGE_URL']
- ⇄~LIST_PAGE_URL => string (8) "catalog/"$arSection['~LIST_PAGE_URL']
- ⇄⧉SECTION_PAGE_URL => string (79) "/lv/catalog/datortehnikas_aksesuaari/kabatas_paliktni_futraalji_cd_dvd_diskiem/...$arSection['SECTION_PAGE_URL']
/lv/catalog/datortehnikas_aksesuaari/kabatas_paliktni_futraalji_cd_dvd_diskiem/
- ⇄⧉~SECTION_PAGE_URL => string (79) "/lv/catalog/datortehnikas_aksesuaari/kabatas_paliktni_futraalji_cd_dvd_diskiem/...$arSection['~SECTION_PAGE_URL']
/lv/catalog/datortehnikas_aksesuaari/kabatas_paliktni_futraalji_cd_dvd_diskiem/
- ⇄IBLOCK_TYPE_ID => string (10) "xmlcatalog"$arSection['IBLOCK_TYPE_ID']
- ⇄~IBLOCK_TYPE_ID => string (10) "xmlcatalog"$arSection['~IBLOCK_TYPE_ID']
- ⇄IBLOCK_CODE => string (14) "estore-catalog"$arSection['IBLOCK_CODE']
- ⇄~IBLOCK_CODE => string (14) "estore-catalog"$arSection['~IBLOCK_CODE']
- ⇄IBLOCK_EXTERNAL_ID => string (47) "xmlcatalog-3f9fc72e-b824-11e3-b952-d43d7e49b8c5"$arSection['IBLOCK_EXTERNAL_ID']
- ⇄~IBLOCK_EXTERNAL_ID => string (47) "xmlcatalog-3f9fc72e-b824-11e3-b952-d43d7e49b8c5"$arSection['~IBLOCK_EXTERNAL_ID']
- ⇄EXTERNAL_ID => string (36) "e1058b95-0c57-11e6-833c-000c297a2876"$arSection['EXTERNAL_ID']
- ⇄~EXTERNAL_ID => string (36) "e1058b95-0c57-11e6-833c-000c297a2876"$arSection['~EXTERNAL_ID']
- ⇄RELATIVE_DEPTH_LEVEL => integer 1$arSection['RELATIVE_DEPTH_LEVEL']
- ⇄EDIT_LINK => null$arSection['EDIT_LINK']
- ⇄DELETE_LINK => null$arSection['DELETE_LINK']
- ⇄~ELEMENT_CNT => string (1) "4"$arSection['~ELEMENT_CNT']
- ⇄ELEMENT_CNT => string (1) "4"$arSection['ELEMENT_CNT']
- ⇄IPROPERTY_VALUES => array (0)$arSection['IPROPERTY_VALUES']
- ⇄ID => string (3) "202"
- ⧉⌕$arSection array (72)
- ⇄ID => string (3) "203"$arSection['ID']
- ⇄~ID => string (3) "203"$arSection['~ID']
- ⇄TIMESTAMP_X => string (19) "15.08.2022 16:33:36"$arSection['TIMESTAMP_X']
- ⇄~TIMESTAMP_X => string (19) "15.08.2022 16:33:36"$arSection['~TIMESTAMP_X']
- ⇄MODIFIED_BY => string (1) "6"$arSection['MODIFIED_BY']
- ⇄~MODIFIED_BY => string (1) "6"$arSection['~MODIFIED_BY']
- ⇄DATE_CREATE => string (19) "31.07.2018 12:45:38"$arSection['DATE_CREATE']
- ⇄~DATE_CREATE => string (19) "31.07.2018 12:45:38"$arSection['~DATE_CREATE']
- ⇄CREATED_BY => string (1) "6"$arSection['CREATED_BY']
- ⇄~CREATED_BY => string (1) "6"$arSection['~CREATED_BY']
- ⇄IBLOCK_ID => string (2) "26"$arSection['IBLOCK_ID']
- ⇄~IBLOCK_ID => string (2) "26"$arSection['~IBLOCK_ID']
- ⇄IBLOCK_SECTION_ID => string (3) "199"$arSection['IBLOCK_SECTION_ID']
- ⇄~IBLOCK_SECTION_ID => string (3) "199"$arSection['~IBLOCK_SECTION_ID']
- ⇄ACTIVE => string (1) "Y"$arSection['ACTIVE']
- ⇄~ACTIVE => string (1) "Y"$arSection['~ACTIVE']
- ⇄GLOBAL_ACTIVE => string (1) "Y"$arSection['GLOBAL_ACTIVE']
- ⇄~GLOBAL_ACTIVE => string (1) "Y"$arSection['~GLOBAL_ACTIVE']
- ⇄SORT => string (3) "210"$arSection['SORT']
- ⇄~SORT => string (3) "210"$arSection['~SORT']
- ⇄NAME => UTF-8 string (57) "Dokumentu turētāji pie monitora, datoru/monitoru paliktņi"$arSection['NAME']
- ⇄~NAME => UTF-8 string (57) "Dokumentu turētāji pie monitora, datoru/monitoru paliktņi"$arSection['~NAME']
- ⇄⧉PICTURE => array (19)$arSection['PICTURE']
- ⇄ID => string (5) "40394"$arSection['PICTURE']['ID']
- ⇄⧉TIMESTAMP_X => Bitrix\Main\Type\DateTime (1)$arSection['PICTURE']['TIMESTAMP_X']
- Properties
- Available methods (26)
- toString
- ⧉protected value -> DateTime (3) 2018-11-30 19:09:21+02:00 EET
- Properties (3)
- Available methods (19)
- Static class properties (13)
- public date -> string (26) "2018-11-30 19:09:21.000000"
- public timezone_type -> integer 3
- public timezone -> string (11) "Europe/Riga"
- public getTimezone()
- public getTimestamp()
- public setTimestamp($unixtimestamp)
- public setDate($year, $month, $day)
- public getOffset()
- public setTimezone($timezone)
- public sub($interval)
- public __wakeup()
- public add($interval)
- public modify($modify)
- public format($format)
- public diff($object, $absolute)
- ⇄public static getLastErrors()\DateTime::getLastErrors()
- ⇄public static createFromFormat($format, $time, DateTimeZone $object)\DateTime::createFromFormat($format, $time, DateTimeZone $object)
- ⇄public static createFromImmutable($DateTimeImmutable)\DateTime::createFromImmutable($DateTimeImmutable)
- public static __set_state(array $array)
- ⇄const ATOM :: string (13) "Y-m-d\TH:i:sP"\DateTime::ATOM
- ⇄const COOKIE :: string (16) "l, d-M-Y H:i:s T"\DateTime::COOKIE
- ⇄const ISO8601 :: string (13) "Y-m-d\TH:i:sO"\DateTime::ISO8601
- ⇄const RFC822 :: string (16) "D, d M y H:i:s O"\DateTime::RFC822
- ⇄const RFC850 :: string (16) "l, d-M-y H:i:s T"\DateTime::RFC850
- ⇄const RFC1036 :: string (16) "D, d M y H:i:s O"\DateTime::RFC1036
- ⇄const RFC1123 :: string (16) "D, d M Y H:i:s O"\DateTime::RFC1123
- ⇄const RFC7231 :: string (21) "D, d M Y H:i:s \G\M\T"\DateTime::RFC7231
- ⇄const RFC2822 :: string (16) "D, d M Y H:i:s O"\DateTime::RFC2822
- ⇄const RFC3339 :: string (13) "Y-m-d\TH:i:sP"\DateTime::RFC3339
- ⇄const RFC3339_EXTENDED :: string (15) "Y-m-d\TH:i:s.vP"\DateTime::RFC3339_EXTENDED
- ⇄const RSS :: string (16) "D, d M Y H:i:s O"\DateTime::RSS
- ⇄const W3C :: string (13) "Y-m-d\TH:i:sP"\DateTime::W3C
- ⇄const ATOM :: string (13) "Y-m-d\TH:i:sP"
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)new \Bitrix\Main\Type\DateTime($time = null, $format = null, DateTimeZone $timezone = null)
/** * @param string $time String representation of datetime. * @param string $format PHP datetime format. If not specified, the format is got from the current culture. * @param \DateTimeZone $timezone Optional timezone object. * * @throws Main\ObjectException */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:16
- ⇄⧉public toString(Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.$arSection['PICTURE']['TIMESTAMP_X']->toString(Bitrix\Main\Context\Culture $culture = null)
/** * Converts date to string, using Culture and global timezone settings. * * @param Context\Culture $culture Culture contains datetime format. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:82
- ⇄⧉public getTimeZone(): \DateTimeZone Returns timezone object.$arSection['PICTURE']['TIMESTAMP_X']->getTimeZone()
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:103
- ⇄⧉public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.$arSection['PICTURE']['TIMESTAMP_X']->setTimeZone(DateTimeZone $timezone)
/** * Sets timezone object. * * @param \DateTimeZone $timezone Timezone object. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:115
- ⇄⧉public setDefaultTimeZone(): DateTime Sets default timezone.$arSection['PICTURE']['TIMESTAMP_X']->setDefaultTimeZone()
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:126
- ⇄⧉public setTime($hour, $minute, $second0, $microseconds0): DateTime$arSection['PICTURE']['TIMESTAMP_X']->setTime($hour, $minute, $second0, $microseconds0)
/** * @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:141
- ⇄⧉public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.$arSection['PICTURE']['TIMESTAMP_X']->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:152
- ⇄⧉public format($format): string Formats date value to string.$arSection['PICTURE']['TIMESTAMP_X']->format($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:109
- ⇄⧉public __clone(): void Produces the copy of the object.clone $arSection['PICTURE']['TIMESTAMP_X']
/** * Produces the copy of the object. * * @return void */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:119
- ⇄⧉public add($interval): $this Performs dates arithmetic.$arSection['PICTURE']['TIMESTAMP_X']->add($interval)
/** * 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:144
- ⇄⧉public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.$arSection['PICTURE']['TIMESTAMP_X']->setDate($year, $month, $day)
/** * 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:165
- ⇄⧉public getTimestamp(): int Returns Unix timestamp from date.$arSection['PICTURE']['TIMESTAMP_X']->getTimestamp()
/** * Returns Unix timestamp from date. * * @return int */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:214
- ⇄⧉public getDiff(Bitrix\Main\Type\DateTime $time): \DateInterval Returns difference between dates.$arSection['PICTURE']['TIMESTAMP_X']->getDiff(Bitrix\Main\Type\DateTime $time)
/** * Returns difference between dates. * * @param DateTime $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:225
- ⇄⧉public __toString(): string Converts a date to the string with default culture format setting.(string) $arSection['PICTURE']['TIMESTAMP_X']
/** * 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:248
- ⧉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:52
- ⧉private tryToCreateIntervalByDesignators($interval)
Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:172
- ⇄⧉public static secondsToOffset($seconds)\Bitrix\Main\Type\DateTime::secondsToOffset($seconds)
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:67
- ⇄⧉public static createFromUserTime($timeString): DateTime Creates DateTime object from local user time using global timezone settings and ...\Bitrix\Main\Type\DateTime::createFromUserTime($timeString)
/** * 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:177
- ⇄⧉public static createFromPhp(DateTime $datetime): static Creates DateTime object from PHP \DateTime object.\Bitrix\Main\Type\DateTime::createFromPhp(DateTime $datetime)
/** * Creates DateTime object from PHP \DateTime object. * * @param \DateTime $datetime Source object. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:230
- ⇄⧉public static createFromTimestamp($timestamp): static Creates DateTime object from Unix timestamp.\Bitrix\Main\Type\DateTime::createFromTimestamp($timestamp)
/** * Creates DateTime object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:244
- ⇄⧉public static tryParse($timeString, $format = null): DateTime|null Creates DateTime object from string. NULL will be returned on failure.\Bitrix\Main\Type\DateTime::tryParse($timeString, $format = null)
/** * 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:258
- ⇄⧉public static getFormat(Bitrix\Main\Context\Culture $culture = null): string Returns a date format from the culture in the php format.\Bitrix\Main\Type\Date::getFormat(Bitrix\Main\Context\Culture $culture = null)
/** * Returns a date format from the culture in the php format. * * @param Context\Culture $culture Optional culture. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:260
- ⇄⧉public static convertFormatToPhp($format): mixed Converts date format from culture to php format.\Bitrix\Main\Type\Date::convertFormatToPhp($format)
/** * Converts date format from culture to php format. * * @param string $format Format string. * * @return mixed */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:305
- ⇄⧉public static isCorrect($time, $format = null): bool Checks the string for correct date (by trying to create Date object).\Bitrix\Main\Type\Date::isCorrect($time, $format = null)
/** * 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 */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:355
- ⇄⧉public static createFromText($text): DateTime|null Creates Date object from Text (return array of result object) Examples: "end of ...\Bitrix\Main\Type\Date::createFromText($text)
/** * 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 */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:413
- ⧉protected static 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 $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:214
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)
30.11.2018 19:09:21
- ⇄MODULE_ID => string (6) "iblock"$arSection['PICTURE']['MODULE_ID']
- ⇄HEIGHT => string (3) "373"$arSection['PICTURE']['HEIGHT']
- ⇄WIDTH => string (3) "600"$arSection['PICTURE']['WIDTH']
- ⇄FILE_SIZE => string (5) "82695"$arSection['PICTURE']['FILE_SIZE']
- ⇄CONTENT_TYPE => string (9) "image/gif"$arSection['PICTURE']['CONTENT_TYPE']
- ⇄SUBDIR => string (10) "iblock/daf"$arSection['PICTURE']['SUBDIR']
- ⇄FILE_NAME => string (24) "7524101_9376252CF198.gif"$arSection['PICTURE']['FILE_NAME']
- ⇄ORIGINAL_NAME => string (24) "7524101_9376252CF198.gif"$arSection['PICTURE']['ORIGINAL_NAME']
- ⇄DESCRIPTION => string (0) ""$arSection['PICTURE']['DESCRIPTION']
- ⇄HANDLER_ID => null$arSection['PICTURE']['HANDLER_ID']
- ⇄EXTERNAL_ID => string (32) "58822214122dd607c8fb95f0fe85a25e"$arSection['PICTURE']['EXTERNAL_ID']
- ⇄~src => boolean false$arSection['PICTURE']['~src']
- ⇄SRC => string (43) "/upload/iblock/daf/7524101_9376252CF198.gif"$arSection['PICTURE']['SRC']
- ⇄UNSAFE_SRC => string (43) "/upload/iblock/daf/7524101_9376252CF198.gif"$arSection['PICTURE']['UNSAFE_SRC']
- ⇄SAFE_SRC => string (43) "/upload/iblock/daf/7524101_9376252CF198.gif"$arSection['PICTURE']['SAFE_SRC']
- ⇄ALT => UTF-8 string (57) "Dokumentu turētāji pie monitora, datoru/monitoru paliktņi"$arSection['PICTURE']['ALT']
- ⇄TITLE => UTF-8 string (57) "Dokumentu turētāji pie monitora, datoru/monitoru paliktņi"$arSection['PICTURE']['TITLE']
- ⇄ID => string (5) "40394"
- ⇄~PICTURE => string (5) "40394"$arSection['~PICTURE']
- ⇄LEFT_MARGIN => string (3) "252"$arSection['LEFT_MARGIN']
- ⇄~LEFT_MARGIN => string (3) "252"$arSection['~LEFT_MARGIN']
- ⇄RIGHT_MARGIN => string (3) "253"$arSection['RIGHT_MARGIN']
- ⇄~RIGHT_MARGIN => string (3) "253"$arSection['~RIGHT_MARGIN']
- ⇄DEPTH_LEVEL => string (1) "2"$arSection['DEPTH_LEVEL']
- ⇄~DEPTH_LEVEL => string (1) "2"$arSection['~DEPTH_LEVEL']
- ⇄DESCRIPTION => string (0) ""$arSection['DESCRIPTION']
- ⇄~DESCRIPTION => string (0) ""$arSection['~DESCRIPTION']
- ⇄DESCRIPTION_TYPE => string (4) "text"$arSection['DESCRIPTION_TYPE']
- ⇄~DESCRIPTION_TYPE => string (4) "text"$arSection['~DESCRIPTION_TYPE']
- ⇄⧉SEARCHABLE_CONTENT => UTF-8 string (59) "DOKUMENTU TURĒTĀJI PIE MONITORA, DATORU/MONITORU PALIKTŅI "$arSection['SEARCHABLE_CONTENT']
DOKUMENTU TURĒTĀJI PIE MONITORA, DATORU/MONITORU PALIKTŅI
- ⇄⧉~SEARCHABLE_CONTENT => UTF-8 string (59) "DOKUMENTU TURĒTĀJI PIE MONITORA, DATORU/MONITORU PALIKTŅI "$arSection['~SEARCHABLE_CONTENT']
DOKUMENTU TURĒTĀJI PIE MONITORA, DATORU/MONITORU PALIKTŅI
- ⇄CODE => string (58) "dokumentu_tureetaaji_pie_monitora_datoru_monitoru_paliktni"$arSection['CODE']
- ⇄~CODE => string (58) "dokumentu_tureetaaji_pie_monitora_datoru_monitoru_paliktni"$arSection['~CODE']
- ⇄XML_ID => string (36) "e1058b96-0c57-11e6-833c-000c297a2876"$arSection['XML_ID']
- ⇄~XML_ID => string (36) "e1058b96-0c57-11e6-833c-000c297a2876"$arSection['~XML_ID']
- ⇄TMP_ID => null$arSection['TMP_ID']
- ⇄~TMP_ID => null$arSection['~TMP_ID']
- ⇄DETAIL_PICTURE => null$arSection['DETAIL_PICTURE']
- ⇄~DETAIL_PICTURE => null$arSection['~DETAIL_PICTURE']
- ⇄SOCNET_GROUP_ID => null$arSection['SOCNET_GROUP_ID']
- ⇄~SOCNET_GROUP_ID => null$arSection['~SOCNET_GROUP_ID']
- ⇄NAME_EN => string (0) ""$arSection['NAME_EN']
- ⇄~NAME_EN => string (0) ""$arSection['~NAME_EN']
- ⇄NAME_RU => UTF-8 string (61) "Держатели для документов, подставки для компьютеров/мониторов"$arSection['NAME_RU']
- ⇄~NAME_RU => UTF-8 string (61) "Держатели для документов, подставки для компьютеров/мониторов"$arSection['~NAME_RU']
- ⇄DESCRIPTION_EN => string (0) ""$arSection['DESCRIPTION_EN']
- ⇄~DESCRIPTION_EN => string (0) ""$arSection['~DESCRIPTION_EN']
- ⇄DESCRIPTION_RU => string (0) ""$arSection['DESCRIPTION_RU']
- ⇄~DESCRIPTION_RU => string (0) ""$arSection['~DESCRIPTION_RU']
- ⇄LIST_PAGE_URL => string (8) "catalog/"$arSection['LIST_PAGE_URL']
- ⇄~LIST_PAGE_URL => string (8) "catalog/"$arSection['~LIST_PAGE_URL']
- ⇄⧉SECTION_PAGE_URL => string (96) "/lv/catalog/datortehnikas_aksesuaari/dokumentu_tureetaaji_pie_monitora_datoru_m...$arSection['SECTION_PAGE_URL']
/lv/catalog/datortehnikas_aksesuaari/dokumentu_tureetaaji_pie_monitora_datoru_monitoru_paliktni/
- ⇄⧉~SECTION_PAGE_URL => string (96) "/lv/catalog/datortehnikas_aksesuaari/dokumentu_tureetaaji_pie_monitora_datoru_m...$arSection['~SECTION_PAGE_URL']
/lv/catalog/datortehnikas_aksesuaari/dokumentu_tureetaaji_pie_monitora_datoru_monitoru_paliktni/
- ⇄IBLOCK_TYPE_ID => string (10) "xmlcatalog"$arSection['IBLOCK_TYPE_ID']
- ⇄~IBLOCK_TYPE_ID => string (10) "xmlcatalog"$arSection['~IBLOCK_TYPE_ID']
- ⇄IBLOCK_CODE => string (14) "estore-catalog"$arSection['IBLOCK_CODE']
- ⇄~IBLOCK_CODE => string (14) "estore-catalog"$arSection['~IBLOCK_CODE']
- ⇄IBLOCK_EXTERNAL_ID => string (47) "xmlcatalog-3f9fc72e-b824-11e3-b952-d43d7e49b8c5"$arSection['IBLOCK_EXTERNAL_ID']
- ⇄~IBLOCK_EXTERNAL_ID => string (47) "xmlcatalog-3f9fc72e-b824-11e3-b952-d43d7e49b8c5"$arSection['~IBLOCK_EXTERNAL_ID']
- ⇄EXTERNAL_ID => string (36) "e1058b96-0c57-11e6-833c-000c297a2876"$arSection['EXTERNAL_ID']
- ⇄~EXTERNAL_ID => string (36) "e1058b96-0c57-11e6-833c-000c297a2876"$arSection['~EXTERNAL_ID']
- ⇄RELATIVE_DEPTH_LEVEL => integer 1$arSection['RELATIVE_DEPTH_LEVEL']
- ⇄EDIT_LINK => null$arSection['EDIT_LINK']
- ⇄DELETE_LINK => null$arSection['DELETE_LINK']
- ⇄~ELEMENT_CNT => string (2) "11"$arSection['~ELEMENT_CNT']
- ⇄ELEMENT_CNT => string (2) "11"$arSection['ELEMENT_CNT']
- ⇄IPROPERTY_VALUES => array (0)$arSection['IPROPERTY_VALUES']
- ⇄ID => string (3) "203"
- ⧉⌕$arSection array (72)
- ⇄ID => string (3) "204"$arSection['ID']
- ⇄~ID => string (3) "204"$arSection['~ID']
- ⇄TIMESTAMP_X => string (19) "10.08.2022 16:43:24"$arSection['TIMESTAMP_X']
- ⇄~TIMESTAMP_X => string (19) "10.08.2022 16:43:24"$arSection['~TIMESTAMP_X']
- ⇄MODIFIED_BY => string (1) "6"$arSection['MODIFIED_BY']
- ⇄~MODIFIED_BY => string (1) "6"$arSection['~MODIFIED_BY']
- ⇄DATE_CREATE => string (19) "31.07.2018 12:45:38"$arSection['DATE_CREATE']
- ⇄~DATE_CREATE => string (19) "31.07.2018 12:45:38"$arSection['~DATE_CREATE']
- ⇄CREATED_BY => string (1) "6"$arSection['CREATED_BY']
- ⇄~CREATED_BY => string (1) "6"$arSection['~CREATED_BY']
- ⇄IBLOCK_ID => string (2) "26"$arSection['IBLOCK_ID']
- ⇄~IBLOCK_ID => string (2) "26"$arSection['~IBLOCK_ID']
- ⇄IBLOCK_SECTION_ID => string (3) "199"$arSection['IBLOCK_SECTION_ID']
- ⇄~IBLOCK_SECTION_ID => string (3) "199"$arSection['~IBLOCK_SECTION_ID']
- ⇄ACTIVE => string (1) "Y"$arSection['ACTIVE']
- ⇄~ACTIVE => string (1) "Y"$arSection['~ACTIVE']
- ⇄GLOBAL_ACTIVE => string (1) "Y"$arSection['GLOBAL_ACTIVE']
- ⇄~GLOBAL_ACTIVE => string (1) "Y"$arSection['~GLOBAL_ACTIVE']
- ⇄SORT => string (3) "220"$arSection['SORT']
- ⇄~SORT => string (3) "220"$arSection['~SORT']
- ⇄NAME => UTF-8 string (18) "Tīrīšanas līdzekļi"$arSection['NAME']
- ⇄~NAME => UTF-8 string (18) "Tīrīšanas līdzekļi"$arSection['~NAME']
- ⇄⧉PICTURE => array (19)$arSection['PICTURE']
- ⇄ID => string (5) "40395"$arSection['PICTURE']['ID']
- ⇄⧉TIMESTAMP_X => Bitrix\Main\Type\DateTime (1)$arSection['PICTURE']['TIMESTAMP_X']
- Properties
- Available methods (26)
- toString
- ⧉protected value -> DateTime (3) 2018-11-30 19:09:44+02:00 EET
- Properties (3)
- Available methods (19)
- Static class properties (13)
- public date -> string (26) "2018-11-30 19:09:44.000000"
- public timezone_type -> integer 3
- public timezone -> string (11) "Europe/Riga"
- public getTimezone()
- public getTimestamp()
- public setTimestamp($unixtimestamp)
- public setDate($year, $month, $day)
- public getOffset()
- public setTimezone($timezone)
- public sub($interval)
- public __wakeup()
- public add($interval)
- public modify($modify)
- public format($format)
- public diff($object, $absolute)
- ⇄public static getLastErrors()\DateTime::getLastErrors()
- ⇄public static createFromFormat($format, $time, DateTimeZone $object)\DateTime::createFromFormat($format, $time, DateTimeZone $object)
- ⇄public static createFromImmutable($DateTimeImmutable)\DateTime::createFromImmutable($DateTimeImmutable)
- public static __set_state(array $array)
- ⇄const ATOM :: string (13) "Y-m-d\TH:i:sP"\DateTime::ATOM
- ⇄const COOKIE :: string (16) "l, d-M-Y H:i:s T"\DateTime::COOKIE
- ⇄const ISO8601 :: string (13) "Y-m-d\TH:i:sO"\DateTime::ISO8601
- ⇄const RFC822 :: string (16) "D, d M y H:i:s O"\DateTime::RFC822
- ⇄const RFC850 :: string (16) "l, d-M-y H:i:s T"\DateTime::RFC850
- ⇄const RFC1036 :: string (16) "D, d M y H:i:s O"\DateTime::RFC1036
- ⇄const RFC1123 :: string (16) "D, d M Y H:i:s O"\DateTime::RFC1123
- ⇄const RFC7231 :: string (21) "D, d M Y H:i:s \G\M\T"\DateTime::RFC7231
- ⇄const RFC2822 :: string (16) "D, d M Y H:i:s O"\DateTime::RFC2822
- ⇄const RFC3339 :: string (13) "Y-m-d\TH:i:sP"\DateTime::RFC3339
- ⇄const RFC3339_EXTENDED :: string (15) "Y-m-d\TH:i:s.vP"\DateTime::RFC3339_EXTENDED
- ⇄const RSS :: string (16) "D, d M Y H:i:s O"\DateTime::RSS
- ⇄const W3C :: string (13) "Y-m-d\TH:i:sP"\DateTime::W3C
- ⇄const ATOM :: string (13) "Y-m-d\TH:i:sP"
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)new \Bitrix\Main\Type\DateTime($time = null, $format = null, DateTimeZone $timezone = null)
/** * @param string $time String representation of datetime. * @param string $format PHP datetime format. If not specified, the format is got from the current culture. * @param \DateTimeZone $timezone Optional timezone object. * * @throws Main\ObjectException */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:16
- ⇄⧉public toString(Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.$arSection['PICTURE']['TIMESTAMP_X']->toString(Bitrix\Main\Context\Culture $culture = null)
/** * Converts date to string, using Culture and global timezone settings. * * @param Context\Culture $culture Culture contains datetime format. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:82
- ⇄⧉public getTimeZone(): \DateTimeZone Returns timezone object.$arSection['PICTURE']['TIMESTAMP_X']->getTimeZone()
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:103
- ⇄⧉public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.$arSection['PICTURE']['TIMESTAMP_X']->setTimeZone(DateTimeZone $timezone)
/** * Sets timezone object. * * @param \DateTimeZone $timezone Timezone object. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:115
- ⇄⧉public setDefaultTimeZone(): DateTime Sets default timezone.$arSection['PICTURE']['TIMESTAMP_X']->setDefaultTimeZone()
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:126
- ⇄⧉public setTime($hour, $minute, $second0, $microseconds0): DateTime$arSection['PICTURE']['TIMESTAMP_X']->setTime($hour, $minute, $second0, $microseconds0)
/** * @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:141
- ⇄⧉public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.$arSection['PICTURE']['TIMESTAMP_X']->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:152
- ⇄⧉public format($format): string Formats date value to string.$arSection['PICTURE']['TIMESTAMP_X']->format($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:109
- ⇄⧉public __clone(): void Produces the copy of the object.clone $arSection['PICTURE']['TIMESTAMP_X']
/** * Produces the copy of the object. * * @return void */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:119
- ⇄⧉public add($interval): $this Performs dates arithmetic.$arSection['PICTURE']['TIMESTAMP_X']->add($interval)
/** * 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:144
- ⇄⧉public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.$arSection['PICTURE']['TIMESTAMP_X']->setDate($year, $month, $day)
/** * 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:165
- ⇄⧉public getTimestamp(): int Returns Unix timestamp from date.$arSection['PICTURE']['TIMESTAMP_X']->getTimestamp()
/** * Returns Unix timestamp from date. * * @return int */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:214
- ⇄⧉public getDiff(Bitrix\Main\Type\DateTime $time): \DateInterval Returns difference between dates.$arSection['PICTURE']['TIMESTAMP_X']->getDiff(Bitrix\Main\Type\DateTime $time)
/** * Returns difference between dates. * * @param DateTime $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:225
- ⇄⧉public __toString(): string Converts a date to the string with default culture format setting.(string) $arSection['PICTURE']['TIMESTAMP_X']
/** * 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:248
- ⧉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:52
- ⧉private tryToCreateIntervalByDesignators($interval)
Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:172
- ⇄⧉public static secondsToOffset($seconds)\Bitrix\Main\Type\DateTime::secondsToOffset($seconds)
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:67
- ⇄⧉public static createFromUserTime($timeString): DateTime Creates DateTime object from local user time using global timezone settings and ...\Bitrix\Main\Type\DateTime::createFromUserTime($timeString)
/** * 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:177
- ⇄⧉public static createFromPhp(DateTime $datetime): static Creates DateTime object from PHP \DateTime object.\Bitrix\Main\Type\DateTime::createFromPhp(DateTime $datetime)
/** * Creates DateTime object from PHP \DateTime object. * * @param \DateTime $datetime Source object. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:230
- ⇄⧉public static createFromTimestamp($timestamp): static Creates DateTime object from Unix timestamp.\Bitrix\Main\Type\DateTime::createFromTimestamp($timestamp)
/** * Creates DateTime object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:244
- ⇄⧉public static tryParse($timeString, $format = null): DateTime|null Creates DateTime object from string. NULL will be returned on failure.\Bitrix\Main\Type\DateTime::tryParse($timeString, $format = null)
/** * 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:258
- ⇄⧉public static getFormat(Bitrix\Main\Context\Culture $culture = null): string Returns a date format from the culture in the php format.\Bitrix\Main\Type\Date::getFormat(Bitrix\Main\Context\Culture $culture = null)
/** * Returns a date format from the culture in the php format. * * @param Context\Culture $culture Optional culture. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:260
- ⇄⧉public static convertFormatToPhp($format): mixed Converts date format from culture to php format.\Bitrix\Main\Type\Date::convertFormatToPhp($format)
/** * Converts date format from culture to php format. * * @param string $format Format string. * * @return mixed */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:305
- ⇄⧉public static isCorrect($time, $format = null): bool Checks the string for correct date (by trying to create Date object).\Bitrix\Main\Type\Date::isCorrect($time, $format = null)
/** * 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 */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:355
- ⇄⧉public static createFromText($text): DateTime|null Creates Date object from Text (return array of result object) Examples: "end of ...\Bitrix\Main\Type\Date::createFromText($text)
/** * 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 */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:413
- ⧉protected static 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 $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:214
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)
30.11.2018 19:09:44
- ⇄MODULE_ID => string (6) "iblock"$arSection['PICTURE']['MODULE_ID']
- ⇄HEIGHT => string (3) "599"$arSection['PICTURE']['HEIGHT']
- ⇄WIDTH => string (3) "600"$arSection['PICTURE']['WIDTH']
- ⇄FILE_SIZE => string (5) "86299"$arSection['PICTURE']['FILE_SIZE']
- ⇄CONTENT_TYPE => string (9) "image/gif"$arSection['PICTURE']['CONTENT_TYPE']
- ⇄SUBDIR => string (10) "iblock/3ac"$arSection['PICTURE']['SUBDIR']
- ⇄FILE_NAME => string (24) "7445900_938D68A0A8F3.gif"$arSection['PICTURE']['FILE_NAME']
- ⇄ORIGINAL_NAME => string (24) "7445900_938D68A0A8F3.gif"$arSection['PICTURE']['ORIGINAL_NAME']
- ⇄DESCRIPTION => string (0) ""$arSection['PICTURE']['DESCRIPTION']
- ⇄HANDLER_ID => null$arSection['PICTURE']['HANDLER_ID']
- ⇄EXTERNAL_ID => string (32) "ae5d3423a6d842c4acd15b6d460ee45e"$arSection['PICTURE']['EXTERNAL_ID']
- ⇄~src => boolean false$arSection['PICTURE']['~src']
- ⇄SRC => string (43) "/upload/iblock/3ac/7445900_938D68A0A8F3.gif"$arSection['PICTURE']['SRC']
- ⇄UNSAFE_SRC => string (43) "/upload/iblock/3ac/7445900_938D68A0A8F3.gif"$arSection['PICTURE']['UNSAFE_SRC']
- ⇄SAFE_SRC => string (43) "/upload/iblock/3ac/7445900_938D68A0A8F3.gif"$arSection['PICTURE']['SAFE_SRC']
- ⇄ALT => UTF-8 string (18) "Tīrīšanas līdzekļi"$arSection['PICTURE']['ALT']
- ⇄TITLE => UTF-8 string (18) "Tīrīšanas līdzekļi"$arSection['PICTURE']['TITLE']
- ⇄ID => string (5) "40395"
- ⇄~PICTURE => string (5) "40395"$arSection['~PICTURE']
- ⇄LEFT_MARGIN => string (3) "254"$arSection['LEFT_MARGIN']
- ⇄~LEFT_MARGIN => string (3) "254"$arSection['~LEFT_MARGIN']
- ⇄RIGHT_MARGIN => string (3) "255"$arSection['RIGHT_MARGIN']
- ⇄~RIGHT_MARGIN => string (3) "255"$arSection['~RIGHT_MARGIN']
- ⇄DEPTH_LEVEL => string (1) "2"$arSection['DEPTH_LEVEL']
- ⇄~DEPTH_LEVEL => string (1) "2"$arSection['~DEPTH_LEVEL']
- ⇄DESCRIPTION => string (0) ""$arSection['DESCRIPTION']
- ⇄~DESCRIPTION => string (0) ""$arSection['~DESCRIPTION']
- ⇄DESCRIPTION_TYPE => string (4) "text"$arSection['DESCRIPTION_TYPE']
- ⇄~DESCRIPTION_TYPE => string (4) "text"$arSection['~DESCRIPTION_TYPE']
- ⇄⧉SEARCHABLE_CONTENT => UTF-8 string (20) "TĪRĪŠANAS LĪDZEKĻI "$arSection['SEARCHABLE_CONTENT']
TĪRĪŠANAS LĪDZEKĻI
- ⇄⧉~SEARCHABLE_CONTENT => UTF-8 string (20) "TĪRĪŠANAS LĪDZEKĻI "$arSection['~SEARCHABLE_CONTENT']
TĪRĪŠANAS LĪDZEKĻI
- ⇄CODE => string (37) "tiiriishanas_liidzeklji_datortehnikai"$arSection['CODE']
- ⇄~CODE => string (37) "tiiriishanas_liidzeklji_datortehnikai"$arSection['~CODE']
- ⇄XML_ID => string (36) "e1058b97-0c57-11e6-833c-000c297a2876"$arSection['XML_ID']
- ⇄~XML_ID => string (36) "e1058b97-0c57-11e6-833c-000c297a2876"$arSection['~XML_ID']
- ⇄TMP_ID => null$arSection['TMP_ID']
- ⇄~TMP_ID => null$arSection['~TMP_ID']
- ⇄DETAIL_PICTURE => null$arSection['DETAIL_PICTURE']
- ⇄~DETAIL_PICTURE => null$arSection['~DETAIL_PICTURE']
- ⇄SOCNET_GROUP_ID => null$arSection['SOCNET_GROUP_ID']
- ⇄~SOCNET_GROUP_ID => null$arSection['~SOCNET_GROUP_ID']
- ⇄NAME_EN => string (0) ""$arSection['NAME_EN']
- ⇄~NAME_EN => string (0) ""$arSection['~NAME_EN']
- ⇄⧉NAME_RU => UTF-8 string (42) "Чистящие средства для компьютерной техники"$arSection['NAME_RU']
Чистящие средства для компьютерной техники
- ⇄⧉~NAME_RU => UTF-8 string (42) "Чистящие средства для компьютерной техники"$arSection['~NAME_RU']
Чистящие средства для компьютерной техники
- ⇄DESCRIPTION_EN => string (0) ""$arSection['DESCRIPTION_EN']
- ⇄~DESCRIPTION_EN => string (0) ""$arSection['~DESCRIPTION_EN']
- ⇄DESCRIPTION_RU => string (0) ""$arSection['DESCRIPTION_RU']
- ⇄~DESCRIPTION_RU => string (0) ""$arSection['~DESCRIPTION_RU']
- ⇄LIST_PAGE_URL => string (8) "catalog/"$arSection['LIST_PAGE_URL']
- ⇄~LIST_PAGE_URL => string (8) "catalog/"$arSection['~LIST_PAGE_URL']
- ⇄SECTION_PAGE_URL => string (75) "/lv/catalog/datortehnikas_aksesuaari/tiiriishanas_liidzeklji_datortehnikai/"$arSection['SECTION_PAGE_URL']
- ⇄~SECTION_PAGE_URL => string (75) "/lv/catalog/datortehnikas_aksesuaari/tiiriishanas_liidzeklji_datortehnikai/"$arSection['~SECTION_PAGE_URL']
- ⇄IBLOCK_TYPE_ID => string (10) "xmlcatalog"$arSection['IBLOCK_TYPE_ID']
- ⇄~IBLOCK_TYPE_ID => string (10) "xmlcatalog"$arSection['~IBLOCK_TYPE_ID']
- ⇄IBLOCK_CODE => string (14) "estore-catalog"$arSection['IBLOCK_CODE']
- ⇄~IBLOCK_CODE => string (14) "estore-catalog"$arSection['~IBLOCK_CODE']
- ⇄IBLOCK_EXTERNAL_ID => string (47) "xmlcatalog-3f9fc72e-b824-11e3-b952-d43d7e49b8c5"$arSection['IBLOCK_EXTERNAL_ID']
- ⇄~IBLOCK_EXTERNAL_ID => string (47) "xmlcatalog-3f9fc72e-b824-11e3-b952-d43d7e49b8c5"$arSection['~IBLOCK_EXTERNAL_ID']
- ⇄EXTERNAL_ID => string (36) "e1058b97-0c57-11e6-833c-000c297a2876"$arSection['EXTERNAL_ID']
- ⇄~EXTERNAL_ID => string (36) "e1058b97-0c57-11e6-833c-000c297a2876"$arSection['~EXTERNAL_ID']
- ⇄RELATIVE_DEPTH_LEVEL => integer 1$arSection['RELATIVE_DEPTH_LEVEL']
- ⇄EDIT_LINK => null$arSection['EDIT_LINK']
- ⇄DELETE_LINK => null$arSection['DELETE_LINK']
- ⇄~ELEMENT_CNT => string (2) "11"$arSection['~ELEMENT_CNT']
- ⇄ELEMENT_CNT => string (2) "11"$arSection['ELEMENT_CNT']
- ⇄IPROPERTY_VALUES => array (0)$arSection['IPROPERTY_VALUES']
- ⇄ID => string (3) "204"
- ⧉⌕$arSection array (72)
- ⇄ID => string (3) "205"$arSection['ID']
- ⇄~ID => string (3) "205"$arSection['~ID']
- ⇄TIMESTAMP_X => string (19) "05.08.2022 13:10:14"$arSection['TIMESTAMP_X']
- ⇄~TIMESTAMP_X => string (19) "05.08.2022 13:10:14"$arSection['~TIMESTAMP_X']
- ⇄MODIFIED_BY => string (1) "6"$arSection['MODIFIED_BY']
- ⇄~MODIFIED_BY => string (1) "6"$arSection['~MODIFIED_BY']
- ⇄DATE_CREATE => string (19) "31.07.2018 12:45:38"$arSection['DATE_CREATE']
- ⇄~DATE_CREATE => string (19) "31.07.2018 12:45:38"$arSection['~DATE_CREATE']
- ⇄CREATED_BY => string (1) "6"$arSection['CREATED_BY']
- ⇄~CREATED_BY => string (1) "6"$arSection['~CREATED_BY']
- ⇄IBLOCK_ID => string (2) "26"$arSection['IBLOCK_ID']
- ⇄~IBLOCK_ID => string (2) "26"$arSection['~IBLOCK_ID']
- ⇄IBLOCK_SECTION_ID => string (3) "199"$arSection['IBLOCK_SECTION_ID']
- ⇄~IBLOCK_SECTION_ID => string (3) "199"$arSection['~IBLOCK_SECTION_ID']
- ⇄ACTIVE => string (1) "Y"$arSection['ACTIVE']
- ⇄~ACTIVE => string (1) "Y"$arSection['~ACTIVE']
- ⇄GLOBAL_ACTIVE => string (1) "Y"$arSection['GLOBAL_ACTIVE']
- ⇄~GLOBAL_ACTIVE => string (1) "Y"$arSection['~GLOBAL_ACTIVE']
- ⇄SORT => string (3) "230"$arSection['SORT']
- ⇄~SORT => string (3) "230"$arSection['~SORT']
- ⇄NAME => UTF-8 string (23) "Klaviatūras, datorpeles"$arSection['NAME']
- ⇄~NAME => UTF-8 string (23) "Klaviatūras, datorpeles"$arSection['~NAME']
- ⇄⧉PICTURE => array (19)$arSection['PICTURE']
- ⇄ID => string (5) "40396"$arSection['PICTURE']['ID']
- ⇄⧉TIMESTAMP_X => Bitrix\Main\Type\DateTime (1)$arSection['PICTURE']['TIMESTAMP_X']
- Properties
- Available methods (26)
- toString
- ⧉protected value -> DateTime (3) 2018-11-30 19:10:09+02:00 EET
- Properties (3)
- Available methods (19)
- Static class properties (13)
- public date -> string (26) "2018-11-30 19:10:09.000000"
- public timezone_type -> integer 3
- public timezone -> string (11) "Europe/Riga"
- public getTimezone()
- public getTimestamp()
- public setTimestamp($unixtimestamp)
- public setDate($year, $month, $day)
- public getOffset()
- public setTimezone($timezone)
- public sub($interval)
- public __wakeup()
- public add($interval)
- public modify($modify)
- public format($format)
- public diff($object, $absolute)
- ⇄public static getLastErrors()\DateTime::getLastErrors()
- ⇄public static createFromFormat($format, $time, DateTimeZone $object)\DateTime::createFromFormat($format, $time, DateTimeZone $object)
- ⇄public static createFromImmutable($DateTimeImmutable)\DateTime::createFromImmutable($DateTimeImmutable)
- public static __set_state(array $array)
- ⇄const ATOM :: string (13) "Y-m-d\TH:i:sP"\DateTime::ATOM
- ⇄const COOKIE :: string (16) "l, d-M-Y H:i:s T"\DateTime::COOKIE
- ⇄const ISO8601 :: string (13) "Y-m-d\TH:i:sO"\DateTime::ISO8601
- ⇄const RFC822 :: string (16) "D, d M y H:i:s O"\DateTime::RFC822
- ⇄const RFC850 :: string (16) "l, d-M-y H:i:s T"\DateTime::RFC850
- ⇄const RFC1036 :: string (16) "D, d M y H:i:s O"\DateTime::RFC1036
- ⇄const RFC1123 :: string (16) "D, d M Y H:i:s O"\DateTime::RFC1123
- ⇄const RFC7231 :: string (21) "D, d M Y H:i:s \G\M\T"\DateTime::RFC7231
- ⇄const RFC2822 :: string (16) "D, d M Y H:i:s O"\DateTime::RFC2822
- ⇄const RFC3339 :: string (13) "Y-m-d\TH:i:sP"\DateTime::RFC3339
- ⇄const RFC3339_EXTENDED :: string (15) "Y-m-d\TH:i:s.vP"\DateTime::RFC3339_EXTENDED
- ⇄const RSS :: string (16) "D, d M Y H:i:s O"\DateTime::RSS
- ⇄const W3C :: string (13) "Y-m-d\TH:i:sP"\DateTime::W3C
- ⇄const ATOM :: string (13) "Y-m-d\TH:i:sP"
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)new \Bitrix\Main\Type\DateTime($time = null, $format = null, DateTimeZone $timezone = null)
/** * @param string $time String representation of datetime. * @param string $format PHP datetime format. If not specified, the format is got from the current culture. * @param \DateTimeZone $timezone Optional timezone object. * * @throws Main\ObjectException */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:16
- ⇄⧉public toString(Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.$arSection['PICTURE']['TIMESTAMP_X']->toString(Bitrix\Main\Context\Culture $culture = null)
/** * Converts date to string, using Culture and global timezone settings. * * @param Context\Culture $culture Culture contains datetime format. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:82
- ⇄⧉public getTimeZone(): \DateTimeZone Returns timezone object.$arSection['PICTURE']['TIMESTAMP_X']->getTimeZone()
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:103
- ⇄⧉public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.$arSection['PICTURE']['TIMESTAMP_X']->setTimeZone(DateTimeZone $timezone)
/** * Sets timezone object. * * @param \DateTimeZone $timezone Timezone object. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:115
- ⇄⧉public setDefaultTimeZone(): DateTime Sets default timezone.$arSection['PICTURE']['TIMESTAMP_X']->setDefaultTimeZone()
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:126
- ⇄⧉public setTime($hour, $minute, $second0, $microseconds0): DateTime$arSection['PICTURE']['TIMESTAMP_X']->setTime($hour, $minute, $second0, $microseconds0)
/** * @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:141
- ⇄⧉public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.$arSection['PICTURE']['TIMESTAMP_X']->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:152
- ⇄⧉public format($format): string Formats date value to string.$arSection['PICTURE']['TIMESTAMP_X']->format($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:109
- ⇄⧉public __clone(): void Produces the copy of the object.clone $arSection['PICTURE']['TIMESTAMP_X']
/** * Produces the copy of the object. * * @return void */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:119
- ⇄⧉public add($interval): $this Performs dates arithmetic.$arSection['PICTURE']['TIMESTAMP_X']->add($interval)
/** * 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:144
- ⇄⧉public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.$arSection['PICTURE']['TIMESTAMP_X']->setDate($year, $month, $day)
/** * 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:165
- ⇄⧉public getTimestamp(): int Returns Unix timestamp from date.$arSection['PICTURE']['TIMESTAMP_X']->getTimestamp()
/** * Returns Unix timestamp from date. * * @return int */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:214
- ⇄⧉public getDiff(Bitrix\Main\Type\DateTime $time): \DateInterval Returns difference between dates.$arSection['PICTURE']['TIMESTAMP_X']->getDiff(Bitrix\Main\Type\DateTime $time)
/** * Returns difference between dates. * * @param DateTime $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:225
- ⇄⧉public __toString(): string Converts a date to the string with default culture format setting.(string) $arSection['PICTURE']['TIMESTAMP_X']
/** * 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:248
- ⧉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:52
- ⧉private tryToCreateIntervalByDesignators($interval)
Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:172
- ⇄⧉public static secondsToOffset($seconds)\Bitrix\Main\Type\DateTime::secondsToOffset($seconds)
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:67
- ⇄⧉public static createFromUserTime($timeString): DateTime Creates DateTime object from local user time using global timezone settings and ...\Bitrix\Main\Type\DateTime::createFromUserTime($timeString)
/** * 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:177
- ⇄⧉public static createFromPhp(DateTime $datetime): static Creates DateTime object from PHP \DateTime object.\Bitrix\Main\Type\DateTime::createFromPhp(DateTime $datetime)
/** * Creates DateTime object from PHP \DateTime object. * * @param \DateTime $datetime Source object. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:230
- ⇄⧉public static createFromTimestamp($timestamp): static Creates DateTime object from Unix timestamp.\Bitrix\Main\Type\DateTime::createFromTimestamp($timestamp)
/** * Creates DateTime object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:244
- ⇄⧉public static tryParse($timeString, $format = null): DateTime|null Creates DateTime object from string. NULL will be returned on failure.\Bitrix\Main\Type\DateTime::tryParse($timeString, $format = null)
/** * 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:258
- ⇄⧉public static getFormat(Bitrix\Main\Context\Culture $culture = null): string Returns a date format from the culture in the php format.\Bitrix\Main\Type\Date::getFormat(Bitrix\Main\Context\Culture $culture = null)
/** * Returns a date format from the culture in the php format. * * @param Context\Culture $culture Optional culture. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:260
- ⇄⧉public static convertFormatToPhp($format): mixed Converts date format from culture to php format.\Bitrix\Main\Type\Date::convertFormatToPhp($format)
/** * Converts date format from culture to php format. * * @param string $format Format string. * * @return mixed */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:305
- ⇄⧉public static isCorrect($time, $format = null): bool Checks the string for correct date (by trying to create Date object).\Bitrix\Main\Type\Date::isCorrect($time, $format = null)
/** * 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 */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:355
- ⇄⧉public static createFromText($text): DateTime|null Creates Date object from Text (return array of result object) Examples: "end of ...\Bitrix\Main\Type\Date::createFromText($text)
/** * 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 */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:413
- ⧉protected static 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 $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:214
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)
30.11.2018 19:10:09
- ⇄MODULE_ID => string (6) "iblock"$arSection['PICTURE']['MODULE_ID']
- ⇄HEIGHT => string (3) "511"$arSection['PICTURE']['HEIGHT']
- ⇄WIDTH => string (3) "600"$arSection['PICTURE']['WIDTH']
- ⇄FILE_SIZE => string (5) "75569"$arSection['PICTURE']['FILE_SIZE']
- ⇄CONTENT_TYPE => string (9) "image/gif"$arSection['PICTURE']['CONTENT_TYPE']
- ⇄SUBDIR => string (10) "iblock/0f6"$arSection['PICTURE']['SUBDIR']
- ⇄FILE_NAME => string (24) "7526443_816AE47DBA49.gif"$arSection['PICTURE']['FILE_NAME']
- ⇄ORIGINAL_NAME => string (24) "7526443_816AE47DBA49.gif"$arSection['PICTURE']['ORIGINAL_NAME']
- ⇄DESCRIPTION => string (0) ""$arSection['PICTURE']['DESCRIPTION']
- ⇄HANDLER_ID => null$arSection['PICTURE']['HANDLER_ID']
- ⇄EXTERNAL_ID => string (32) "1fac412c464e32ad4ae78fa38b52f4fb"$arSection['PICTURE']['EXTERNAL_ID']
- ⇄~src => boolean false$arSection['PICTURE']['~src']
- ⇄SRC => string (43) "/upload/iblock/0f6/7526443_816AE47DBA49.gif"$arSection['PICTURE']['SRC']
- ⇄UNSAFE_SRC => string (43) "/upload/iblock/0f6/7526443_816AE47DBA49.gif"$arSection['PICTURE']['UNSAFE_SRC']
- ⇄SAFE_SRC => string (43) "/upload/iblock/0f6/7526443_816AE47DBA49.gif"$arSection['PICTURE']['SAFE_SRC']
- ⇄ALT => UTF-8 string (23) "Klaviatūras, datorpeles"$arSection['PICTURE']['ALT']
- ⇄TITLE => UTF-8 string (23) "Klaviatūras, datorpeles"$arSection['PICTURE']['TITLE']
- ⇄ID => string (5) "40396"
- ⇄~PICTURE => string (5) "40396"$arSection['~PICTURE']
- ⇄LEFT_MARGIN => string (3) "256"$arSection['LEFT_MARGIN']
- ⇄~LEFT_MARGIN => string (3) "256"$arSection['~LEFT_MARGIN']
- ⇄RIGHT_MARGIN => string (3) "257"$arSection['RIGHT_MARGIN']
- ⇄~RIGHT_MARGIN => string (3) "257"$arSection['~RIGHT_MARGIN']
- ⇄DEPTH_LEVEL => string (1) "2"$arSection['DEPTH_LEVEL']
- ⇄~DEPTH_LEVEL => string (1) "2"$arSection['~DEPTH_LEVEL']
- ⇄DESCRIPTION => string (0) ""$arSection['DESCRIPTION']
- ⇄~DESCRIPTION => string (0) ""$arSection['~DESCRIPTION']
- ⇄DESCRIPTION_TYPE => string (4) "text"$arSection['DESCRIPTION_TYPE']
- ⇄~DESCRIPTION_TYPE => string (4) "text"$arSection['~DESCRIPTION_TYPE']
- ⇄⧉SEARCHABLE_CONTENT => UTF-8 string (25) "KLAVIATŪRAS, DATORPELES "$arSection['SEARCHABLE_CONTENT']
KLAVIATŪRAS, DATORPELES
- ⇄⧉~SEARCHABLE_CONTENT => UTF-8 string (25) "KLAVIATŪRAS, DATORPELES "$arSection['~SEARCHABLE_CONTENT']
KLAVIATŪRAS, DATORPELES
- ⇄CODE => string (23) "klaviatuuras_datorpeles"$arSection['CODE']
- ⇄~CODE => string (23) "klaviatuuras_datorpeles"$arSection['~CODE']
- ⇄XML_ID => string (36) "e1058b98-0c57-11e6-833c-000c297a2876"$arSection['XML_ID']
- ⇄~XML_ID => string (36) "e1058b98-0c57-11e6-833c-000c297a2876"$arSection['~XML_ID']
- ⇄TMP_ID => null$arSection['TMP_ID']
- ⇄~TMP_ID => null$arSection['~TMP_ID']
- ⇄DETAIL_PICTURE => null$arSection['DETAIL_PICTURE']
- ⇄~DETAIL_PICTURE => null$arSection['~DETAIL_PICTURE']
- ⇄SOCNET_GROUP_ID => null$arSection['SOCNET_GROUP_ID']
- ⇄~SOCNET_GROUP_ID => null$arSection['~SOCNET_GROUP_ID']
- ⇄NAME_EN => string (0) ""$arSection['NAME_EN']
- ⇄~NAME_EN => string (0) ""$arSection['~NAME_EN']
- ⇄NAME_RU => UTF-8 string (30) "Клавиатуры, мышки компьютерные"$arSection['NAME_RU']
- ⇄~NAME_RU => UTF-8 string (30) "Клавиатуры, мышки компьютерные"$arSection['~NAME_RU']
- ⇄DESCRIPTION_EN => string (0) ""$arSection['DESCRIPTION_EN']
- ⇄~DESCRIPTION_EN => string (0) ""$arSection['~DESCRIPTION_EN']
- ⇄DESCRIPTION_RU => string (0) ""$arSection['DESCRIPTION_RU']
- ⇄~DESCRIPTION_RU => string (0) ""$arSection['~DESCRIPTION_RU']
- ⇄LIST_PAGE_URL => string (8) "catalog/"$arSection['LIST_PAGE_URL']
- ⇄~LIST_PAGE_URL => string (8) "catalog/"$arSection['~LIST_PAGE_URL']
- ⇄SECTION_PAGE_URL => string (61) "/lv/catalog/datortehnikas_aksesuaari/klaviatuuras_datorpeles/"$arSection['SECTION_PAGE_URL']
- ⇄~SECTION_PAGE_URL => string (61) "/lv/catalog/datortehnikas_aksesuaari/klaviatuuras_datorpeles/"$arSection['~SECTION_PAGE_URL']
- ⇄IBLOCK_TYPE_ID => string (10) "xmlcatalog"$arSection['IBLOCK_TYPE_ID']
- ⇄~IBLOCK_TYPE_ID => string (10) "xmlcatalog"$arSection['~IBLOCK_TYPE_ID']
- ⇄IBLOCK_CODE => string (14) "estore-catalog"$arSection['IBLOCK_CODE']
- ⇄~IBLOCK_CODE => string (14) "estore-catalog"$arSection['~IBLOCK_CODE']
- ⇄IBLOCK_EXTERNAL_ID => string (47) "xmlcatalog-3f9fc72e-b824-11e3-b952-d43d7e49b8c5"$arSection['IBLOCK_EXTERNAL_ID']
- ⇄~IBLOCK_EXTERNAL_ID => string (47) "xmlcatalog-3f9fc72e-b824-11e3-b952-d43d7e49b8c5"$arSection['~IBLOCK_EXTERNAL_ID']
- ⇄EXTERNAL_ID => string (36) "e1058b98-0c57-11e6-833c-000c297a2876"$arSection['EXTERNAL_ID']
- ⇄~EXTERNAL_ID => string (36) "e1058b98-0c57-11e6-833c-000c297a2876"$arSection['~EXTERNAL_ID']
- ⇄RELATIVE_DEPTH_LEVEL => integer 1$arSection['RELATIVE_DEPTH_LEVEL']
- ⇄EDIT_LINK => null$arSection['EDIT_LINK']
- ⇄DELETE_LINK => null$arSection['DELETE_LINK']
- ⇄~ELEMENT_CNT => string (2) "12"$arSection['~ELEMENT_CNT']
- ⇄ELEMENT_CNT => string (2) "12"$arSection['ELEMENT_CNT']
- ⇄IPROPERTY_VALUES => array (0)$arSection['IPROPERTY_VALUES']
- ⇄ID => string (3) "205"
- ⧉⌕$arSection array (72)
- ⇄ID => string (3) "206"$arSection['ID']
- ⇄~ID => string (3) "206"$arSection['~ID']
- ⇄TIMESTAMP_X => string (19) "17.08.2022 12:21:56"$arSection['TIMESTAMP_X']
- ⇄~TIMESTAMP_X => string (19) "17.08.2022 12:21:56"$arSection['~TIMESTAMP_X']
- ⇄MODIFIED_BY => string (1) "6"$arSection['MODIFIED_BY']
- ⇄~MODIFIED_BY => string (1) "6"$arSection['~MODIFIED_BY']
- ⇄DATE_CREATE => string (19) "31.07.2018 12:45:38"$arSection['DATE_CREATE']
- ⇄~DATE_CREATE => string (19) "31.07.2018 12:45:38"$arSection['~DATE_CREATE']
- ⇄CREATED_BY => string (1) "6"$arSection['CREATED_BY']
- ⇄~CREATED_BY => string (1) "6"$arSection['~CREATED_BY']
- ⇄IBLOCK_ID => string (2) "26"$arSection['IBLOCK_ID']
- ⇄~IBLOCK_ID => string (2) "26"$arSection['~IBLOCK_ID']
- ⇄IBLOCK_SECTION_ID => string (3) "199"$arSection['IBLOCK_SECTION_ID']
- ⇄~IBLOCK_SECTION_ID => string (3) "199"$arSection['~IBLOCK_SECTION_ID']
- ⇄ACTIVE => string (1) "Y"$arSection['ACTIVE']
- ⇄~ACTIVE => string (1) "Y"$arSection['~ACTIVE']
- ⇄GLOBAL_ACTIVE => string (1) "Y"$arSection['GLOBAL_ACTIVE']
- ⇄~GLOBAL_ACTIVE => string (1) "Y"$arSection['~GLOBAL_ACTIVE']
- ⇄SORT => string (3) "240"$arSection['SORT']
- ⇄~SORT => string (3) "240"$arSection['~SORT']
- ⇄NAME => UTF-8 string (25) "CD/DVD diski, datu nesēji"$arSection['NAME']
- ⇄~NAME => UTF-8 string (25) "CD/DVD diski, datu nesēji"$arSection['~NAME']
- ⇄⧉PICTURE => array (19)$arSection['PICTURE']
- ⇄ID => string (5) "40397"$arSection['PICTURE']['ID']
- ⇄⧉TIMESTAMP_X => Bitrix\Main\Type\DateTime (1)$arSection['PICTURE']['TIMESTAMP_X']
- Properties
- Available methods (26)
- toString
- ⧉protected value -> DateTime (3) 2018-11-30 19:10:35+02:00 EET
- Properties (3)
- Available methods (19)
- Static class properties (13)
- public date -> string (26) "2018-11-30 19:10:35.000000"
- public timezone_type -> integer 3
- public timezone -> string (11) "Europe/Riga"
- public getTimezone()
- public getTimestamp()
- public setTimestamp($unixtimestamp)
- public setDate($year, $month, $day)
- public getOffset()
- public setTimezone($timezone)
- public sub($interval)
- public __wakeup()
- public add($interval)
- public modify($modify)
- public format($format)
- public diff($object, $absolute)
- ⇄public static getLastErrors()\DateTime::getLastErrors()
- ⇄public static createFromFormat($format, $time, DateTimeZone $object)\DateTime::createFromFormat($format, $time, DateTimeZone $object)
- ⇄public static createFromImmutable($DateTimeImmutable)\DateTime::createFromImmutable($DateTimeImmutable)
- public static __set_state(array $array)
- ⇄const ATOM :: string (13) "Y-m-d\TH:i:sP"\DateTime::ATOM
- ⇄const COOKIE :: string (16) "l, d-M-Y H:i:s T"\DateTime::COOKIE
- ⇄const ISO8601 :: string (13) "Y-m-d\TH:i:sO"\DateTime::ISO8601
- ⇄const RFC822 :: string (16) "D, d M y H:i:s O"\DateTime::RFC822
- ⇄const RFC850 :: string (16) "l, d-M-y H:i:s T"\DateTime::RFC850
- ⇄const RFC1036 :: string (16) "D, d M y H:i:s O"\DateTime::RFC1036
- ⇄const RFC1123 :: string (16) "D, d M Y H:i:s O"\DateTime::RFC1123
- ⇄const RFC7231 :: string (21) "D, d M Y H:i:s \G\M\T"\DateTime::RFC7231
- ⇄const RFC2822 :: string (16) "D, d M Y H:i:s O"\DateTime::RFC2822
- ⇄const RFC3339 :: string (13) "Y-m-d\TH:i:sP"\DateTime::RFC3339
- ⇄const RFC3339_EXTENDED :: string (15) "Y-m-d\TH:i:s.vP"\DateTime::RFC3339_EXTENDED
- ⇄const RSS :: string (16) "D, d M Y H:i:s O"\DateTime::RSS
- ⇄const W3C :: string (13) "Y-m-d\TH:i:sP"\DateTime::W3C
- ⇄const ATOM :: string (13) "Y-m-d\TH:i:sP"
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)new \Bitrix\Main\Type\DateTime($time = null, $format = null, DateTimeZone $timezone = null)
/** * @param string $time String representation of datetime. * @param string $format PHP datetime format. If not specified, the format is got from the current culture. * @param \DateTimeZone $timezone Optional timezone object. * * @throws Main\ObjectException */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:16
- ⇄⧉public toString(Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.$arSection['PICTURE']['TIMESTAMP_X']->toString(Bitrix\Main\Context\Culture $culture = null)
/** * Converts date to string, using Culture and global timezone settings. * * @param Context\Culture $culture Culture contains datetime format. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:82
- ⇄⧉public getTimeZone(): \DateTimeZone Returns timezone object.$arSection['PICTURE']['TIMESTAMP_X']->getTimeZone()
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:103
- ⇄⧉public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.$arSection['PICTURE']['TIMESTAMP_X']->setTimeZone(DateTimeZone $timezone)
/** * Sets timezone object. * * @param \DateTimeZone $timezone Timezone object. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:115
- ⇄⧉public setDefaultTimeZone(): DateTime Sets default timezone.$arSection['PICTURE']['TIMESTAMP_X']->setDefaultTimeZone()
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:126
- ⇄⧉public setTime($hour, $minute, $second0, $microseconds0): DateTime$arSection['PICTURE']['TIMESTAMP_X']->setTime($hour, $minute, $second0, $microseconds0)
/** * @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:141
- ⇄⧉public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.$arSection['PICTURE']['TIMESTAMP_X']->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:152
- ⇄⧉public format($format): string Formats date value to string.$arSection['PICTURE']['TIMESTAMP_X']->format($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:109
- ⇄⧉public __clone(): void Produces the copy of the object.clone $arSection['PICTURE']['TIMESTAMP_X']
/** * Produces the copy of the object. * * @return void */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:119
- ⇄⧉public add($interval): $this Performs dates arithmetic.$arSection['PICTURE']['TIMESTAMP_X']->add($interval)
/** * 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:144
- ⇄⧉public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.$arSection['PICTURE']['TIMESTAMP_X']->setDate($year, $month, $day)
/** * 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:165
- ⇄⧉public getTimestamp(): int Returns Unix timestamp from date.$arSection['PICTURE']['TIMESTAMP_X']->getTimestamp()
/** * Returns Unix timestamp from date. * * @return int */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:214
- ⇄⧉public getDiff(Bitrix\Main\Type\DateTime $time): \DateInterval Returns difference between dates.$arSection['PICTURE']['TIMESTAMP_X']->getDiff(Bitrix\Main\Type\DateTime $time)
/** * Returns difference between dates. * * @param DateTime $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:225
- ⇄⧉public __toString(): string Converts a date to the string with default culture format setting.(string) $arSection['PICTURE']['TIMESTAMP_X']
/** * 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:248
- ⧉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:52
- ⧉private tryToCreateIntervalByDesignators($interval)
Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:172
- ⇄⧉public static secondsToOffset($seconds)\Bitrix\Main\Type\DateTime::secondsToOffset($seconds)
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:67
- ⇄⧉public static createFromUserTime($timeString): DateTime Creates DateTime object from local user time using global timezone settings and ...\Bitrix\Main\Type\DateTime::createFromUserTime($timeString)
/** * 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:177
- ⇄⧉public static createFromPhp(DateTime $datetime): static Creates DateTime object from PHP \DateTime object.\Bitrix\Main\Type\DateTime::createFromPhp(DateTime $datetime)
/** * Creates DateTime object from PHP \DateTime object. * * @param \DateTime $datetime Source object. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:230
- ⇄⧉public static createFromTimestamp($timestamp): static Creates DateTime object from Unix timestamp.\Bitrix\Main\Type\DateTime::createFromTimestamp($timestamp)
/** * Creates DateTime object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:244
- ⇄⧉public static tryParse($timeString, $format = null): DateTime|null Creates DateTime object from string. NULL will be returned on failure.\Bitrix\Main\Type\DateTime::tryParse($timeString, $format = null)
/** * 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:258
- ⇄⧉public static getFormat(Bitrix\Main\Context\Culture $culture = null): string Returns a date format from the culture in the php format.\Bitrix\Main\Type\Date::getFormat(Bitrix\Main\Context\Culture $culture = null)
/** * Returns a date format from the culture in the php format. * * @param Context\Culture $culture Optional culture. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:260
- ⇄⧉public static convertFormatToPhp($format): mixed Converts date format from culture to php format.\Bitrix\Main\Type\Date::convertFormatToPhp($format)
/** * Converts date format from culture to php format. * * @param string $format Format string. * * @return mixed */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:305
- ⇄⧉public static isCorrect($time, $format = null): bool Checks the string for correct date (by trying to create Date object).\Bitrix\Main\Type\Date::isCorrect($time, $format = null)
/** * 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 */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:355
- ⇄⧉public static createFromText($text): DateTime|null Creates Date object from Text (return array of result object) Examples: "end of ...\Bitrix\Main\Type\Date::createFromText($text)
/** * 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 */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:413
- ⧉protected static 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 $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:214
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)
30.11.2018 19:10:35
- ⇄MODULE_ID => string (6) "iblock"$arSection['PICTURE']['MODULE_ID']
- ⇄HEIGHT => string (3) "577"$arSection['PICTURE']['HEIGHT']
- ⇄WIDTH => string (3) "600"$arSection['PICTURE']['WIDTH']
- ⇄FILE_SIZE => string (5) "86250"$arSection['PICTURE']['FILE_SIZE']
- ⇄CONTENT_TYPE => string (9) "image/gif"$arSection['PICTURE']['CONTENT_TYPE']
- ⇄SUBDIR => string (10) "iblock/eb3"$arSection['PICTURE']['SUBDIR']
- ⇄FILE_NAME => string (24) "9120816_816AE47DBA61.gif"$arSection['PICTURE']['FILE_NAME']
- ⇄ORIGINAL_NAME => string (24) "9120816_816AE47DBA61.gif"$arSection['PICTURE']['ORIGINAL_NAME']
- ⇄DESCRIPTION => string (0) ""$arSection['PICTURE']['DESCRIPTION']
- ⇄HANDLER_ID => null$arSection['PICTURE']['HANDLER_ID']
- ⇄EXTERNAL_ID => string (32) "70fe2296d3a2b059872b4b727a855e58"$arSection['PICTURE']['EXTERNAL_ID']
- ⇄~src => boolean false$arSection['PICTURE']['~src']
- ⇄SRC => string (43) "/upload/iblock/eb3/9120816_816AE47DBA61.gif"$arSection['PICTURE']['SRC']
- ⇄UNSAFE_SRC => string (43) "/upload/iblock/eb3/9120816_816AE47DBA61.gif"$arSection['PICTURE']['UNSAFE_SRC']
- ⇄SAFE_SRC => string (43) "/upload/iblock/eb3/9120816_816AE47DBA61.gif"$arSection['PICTURE']['SAFE_SRC']
- ⇄ALT => UTF-8 string (25) "CD/DVD diski, datu nesēji"$arSection['PICTURE']['ALT']
- ⇄TITLE => UTF-8 string (25) "CD/DVD diski, datu nesēji"$arSection['PICTURE']['TITLE']
- ⇄ID => string (5) "40397"
- ⇄~PICTURE => string (5) "40397"$arSection['~PICTURE']
- ⇄LEFT_MARGIN => string (3) "258"$arSection['LEFT_MARGIN']
- ⇄~LEFT_MARGIN => string (3) "258"$arSection['~LEFT_MARGIN']
- ⇄RIGHT_MARGIN => string (3) "259"$arSection['RIGHT_MARGIN']
- ⇄~RIGHT_MARGIN => string (3) "259"$arSection['~RIGHT_MARGIN']
- ⇄DEPTH_LEVEL => string (1) "2"$arSection['DEPTH_LEVEL']
- ⇄~DEPTH_LEVEL => string (1) "2"$arSection['~DEPTH_LEVEL']
- ⇄DESCRIPTION => string (0) ""$arSection['DESCRIPTION']
- ⇄~DESCRIPTION => string (0) ""$arSection['~DESCRIPTION']
- ⇄DESCRIPTION_TYPE => string (4) "text"$arSection['DESCRIPTION_TYPE']
- ⇄~DESCRIPTION_TYPE => string (4) "text"$arSection['~DESCRIPTION_TYPE']
- ⇄⧉SEARCHABLE_CONTENT => UTF-8 string (27) "CD/DVD DISKI, DATU NESĒJI "$arSection['SEARCHABLE_CONTENT']
CD/DVD DISKI, DATU NESĒJI
- ⇄⧉~SEARCHABLE_CONTENT => UTF-8 string (27) "CD/DVD DISKI, DATU NESĒJI "$arSection['~SEARCHABLE_CONTENT']
CD/DVD DISKI, DATU NESĒJI
- ⇄CODE => string (25) "cd_dvd_diski_datu_neseeji"$arSection['CODE']
- ⇄~CODE => string (25) "cd_dvd_diski_datu_neseeji"$arSection['~CODE']
- ⇄XML_ID => string (36) "e1058b9b-0c57-11e6-833c-000c297a2876"$arSection['XML_ID']
- ⇄~XML_ID => string (36) "e1058b9b-0c57-11e6-833c-000c297a2876"$arSection['~XML_ID']
- ⇄TMP_ID => null$arSection['TMP_ID']
- ⇄~TMP_ID => null$arSection['~TMP_ID']
- ⇄DETAIL_PICTURE => null$arSection['DETAIL_PICTURE']
- ⇄~DETAIL_PICTURE => null$arSection['~DETAIL_PICTURE']
- ⇄SOCNET_GROUP_ID => null$arSection['SOCNET_GROUP_ID']
- ⇄~SOCNET_GROUP_ID => null$arSection['~SOCNET_GROUP_ID']
- ⇄NAME_EN => string (0) ""$arSection['NAME_EN']
- ⇄~NAME_EN => string (0) ""$arSection['~NAME_EN']
- ⇄⧉NAME_RU => UTF-8 string (29) "CD/DVD диски, носители данных"$arSection['NAME_RU']
CD/DVD диски, носители данных
- ⇄⧉~NAME_RU => UTF-8 string (29) "CD/DVD диски, носители данных"$arSection['~NAME_RU']
CD/DVD диски, носители данных
- ⇄DESCRIPTION_EN => string (0) ""$arSection['DESCRIPTION_EN']
- ⇄~DESCRIPTION_EN => string (0) ""$arSection['~DESCRIPTION_EN']
- ⇄DESCRIPTION_RU => string (0) ""$arSection['DESCRIPTION_RU']
- ⇄~DESCRIPTION_RU => string (0) ""$arSection['~DESCRIPTION_RU']
- ⇄LIST_PAGE_URL => string (8) "catalog/"$arSection['LIST_PAGE_URL']
- ⇄~LIST_PAGE_URL => string (8) "catalog/"$arSection['~LIST_PAGE_URL']
- ⇄SECTION_PAGE_URL => string (63) "/lv/catalog/datortehnikas_aksesuaari/cd_dvd_diski_datu_neseeji/"$arSection['SECTION_PAGE_URL']
- ⇄~SECTION_PAGE_URL => string (63) "/lv/catalog/datortehnikas_aksesuaari/cd_dvd_diski_datu_neseeji/"$arSection['~SECTION_PAGE_URL']
- ⇄IBLOCK_TYPE_ID => string (10) "xmlcatalog"$arSection['IBLOCK_TYPE_ID']
- ⇄~IBLOCK_TYPE_ID => string (10) "xmlcatalog"$arSection['~IBLOCK_TYPE_ID']
- ⇄IBLOCK_CODE => string (14) "estore-catalog"$arSection['IBLOCK_CODE']
- ⇄~IBLOCK_CODE => string (14) "estore-catalog"$arSection['~IBLOCK_CODE']
- ⇄IBLOCK_EXTERNAL_ID => string (47) "xmlcatalog-3f9fc72e-b824-11e3-b952-d43d7e49b8c5"$arSection['IBLOCK_EXTERNAL_ID']
- ⇄~IBLOCK_EXTERNAL_ID => string (47) "xmlcatalog-3f9fc72e-b824-11e3-b952-d43d7e49b8c5"$arSection['~IBLOCK_EXTERNAL_ID']
- ⇄EXTERNAL_ID => string (36) "e1058b9b-0c57-11e6-833c-000c297a2876"$arSection['EXTERNAL_ID']
- ⇄~EXTERNAL_ID => string (36) "e1058b9b-0c57-11e6-833c-000c297a2876"$arSection['~EXTERNAL_ID']
- ⇄RELATIVE_DEPTH_LEVEL => integer 1$arSection['RELATIVE_DEPTH_LEVEL']
- ⇄EDIT_LINK => null$arSection['EDIT_LINK']
- ⇄DELETE_LINK => null$arSection['DELETE_LINK']
- ⇄~ELEMENT_CNT => string (2) "21"$arSection['~ELEMENT_CNT']
- ⇄ELEMENT_CNT => string (2) "21"$arSection['ELEMENT_CNT']
- ⇄IPROPERTY_VALUES => array (0)$arSection['IPROPERTY_VALUES']
- ⇄ID => string (3) "206"
- ⧉⌕$arSection array (72)
- ⇄ID => string (3) "207"$arSection['ID']
- ⇄~ID => string (3) "207"$arSection['~ID']
- ⇄TIMESTAMP_X => string (19) "05.01.2022 10:01:12"$arSection['TIMESTAMP_X']
- ⇄~TIMESTAMP_X => string (19) "05.01.2022 10:01:12"$arSection['~TIMESTAMP_X']
- ⇄MODIFIED_BY => string (1) "9"$arSection['MODIFIED_BY']
- ⇄~MODIFIED_BY => string (1) "9"$arSection['~MODIFIED_BY']
- ⇄DATE_CREATE => string (19) "31.07.2018 12:45:38"$arSection['DATE_CREATE']
- ⇄~DATE_CREATE => string (19) "31.07.2018 12:45:38"$arSection['~DATE_CREATE']
- ⇄CREATED_BY => string (1) "6"$arSection['CREATED_BY']
- ⇄~CREATED_BY => string (1) "6"$arSection['~CREATED_BY']
- ⇄IBLOCK_ID => string (2) "26"$arSection['IBLOCK_ID']
- ⇄~IBLOCK_ID => string (2) "26"$arSection['~IBLOCK_ID']
- ⇄IBLOCK_SECTION_ID => string (3) "199"$arSection['IBLOCK_SECTION_ID']
- ⇄~IBLOCK_SECTION_ID => string (3) "199"$arSection['~IBLOCK_SECTION_ID']
- ⇄ACTIVE => string (1) "Y"$arSection['ACTIVE']
- ⇄~ACTIVE => string (1) "Y"$arSection['~ACTIVE']
- ⇄GLOBAL_ACTIVE => string (1) "Y"$arSection['GLOBAL_ACTIVE']
- ⇄~GLOBAL_ACTIVE => string (1) "Y"$arSection['~GLOBAL_ACTIVE']
- ⇄SORT => string (3) "250"$arSection['SORT']
- ⇄~SORT => string (3) "250"$arSection['~SORT']
- ⇄NAME => string (16) "Datora piederumi"$arSection['NAME']
- ⇄~NAME => string (16) "Datora piederumi"$arSection['~NAME']
- ⇄⧉PICTURE => array (19)$arSection['PICTURE']
- ⇄ID => string (5) "40398"$arSection['PICTURE']['ID']
- ⇄⧉TIMESTAMP_X => Bitrix\Main\Type\DateTime (1)$arSection['PICTURE']['TIMESTAMP_X']
- Properties
- Available methods (26)
- toString
- ⧉protected value -> DateTime (3) 2018-11-30 19:11:00+02:00 EET
- Properties (3)
- Available methods (19)
- Static class properties (13)
- public date -> string (26) "2018-11-30 19:11:00.000000"
- public timezone_type -> integer 3
- public timezone -> string (11) "Europe/Riga"
- public getTimezone()
- public getTimestamp()
- public setTimestamp($unixtimestamp)
- public setDate($year, $month, $day)
- public getOffset()
- public setTimezone($timezone)
- public sub($interval)
- public __wakeup()
- public add($interval)
- public modify($modify)
- public format($format)
- public diff($object, $absolute)
- ⇄public static getLastErrors()\DateTime::getLastErrors()
- ⇄public static createFromFormat($format, $time, DateTimeZone $object)\DateTime::createFromFormat($format, $time, DateTimeZone $object)
- ⇄public static createFromImmutable($DateTimeImmutable)\DateTime::createFromImmutable($DateTimeImmutable)
- public static __set_state(array $array)
- ⇄const ATOM :: string (13) "Y-m-d\TH:i:sP"\DateTime::ATOM
- ⇄const COOKIE :: string (16) "l, d-M-Y H:i:s T"\DateTime::COOKIE
- ⇄const ISO8601 :: string (13) "Y-m-d\TH:i:sO"\DateTime::ISO8601
- ⇄const RFC822 :: string (16) "D, d M y H:i:s O"\DateTime::RFC822
- ⇄const RFC850 :: string (16) "l, d-M-y H:i:s T"\DateTime::RFC850
- ⇄const RFC1036 :: string (16) "D, d M y H:i:s O"\DateTime::RFC1036
- ⇄const RFC1123 :: string (16) "D, d M Y H:i:s O"\DateTime::RFC1123
- ⇄const RFC7231 :: string (21) "D, d M Y H:i:s \G\M\T"\DateTime::RFC7231
- ⇄const RFC2822 :: string (16) "D, d M Y H:i:s O"\DateTime::RFC2822
- ⇄const RFC3339 :: string (13) "Y-m-d\TH:i:sP"\DateTime::RFC3339
- ⇄const RFC3339_EXTENDED :: string (15) "Y-m-d\TH:i:s.vP"\DateTime::RFC3339_EXTENDED
- ⇄const RSS :: string (16) "D, d M Y H:i:s O"\DateTime::RSS
- ⇄const W3C :: string (13) "Y-m-d\TH:i:sP"\DateTime::W3C
- ⇄const ATOM :: string (13) "Y-m-d\TH:i:sP"
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)new \Bitrix\Main\Type\DateTime($time = null, $format = null, DateTimeZone $timezone = null)
/** * @param string $time String representation of datetime. * @param string $format PHP datetime format. If not specified, the format is got from the current culture. * @param \DateTimeZone $timezone Optional timezone object. * * @throws Main\ObjectException */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:16
- ⇄⧉public toString(Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.$arSection['PICTURE']['TIMESTAMP_X']->toString(Bitrix\Main\Context\Culture $culture = null)
/** * Converts date to string, using Culture and global timezone settings. * * @param Context\Culture $culture Culture contains datetime format. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:82
- ⇄⧉public getTimeZone(): \DateTimeZone Returns timezone object.$arSection['PICTURE']['TIMESTAMP_X']->getTimeZone()
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:103
- ⇄⧉public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.$arSection['PICTURE']['TIMESTAMP_X']->setTimeZone(DateTimeZone $timezone)
/** * Sets timezone object. * * @param \DateTimeZone $timezone Timezone object. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:115
- ⇄⧉public setDefaultTimeZone(): DateTime Sets default timezone.$arSection['PICTURE']['TIMESTAMP_X']->setDefaultTimeZone()
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:126
- ⇄⧉public setTime($hour, $minute, $second0, $microseconds0): DateTime$arSection['PICTURE']['TIMESTAMP_X']->setTime($hour, $minute, $second0, $microseconds0)
/** * @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:141
- ⇄⧉public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.$arSection['PICTURE']['TIMESTAMP_X']->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:152
- ⇄⧉public format($format): string Formats date value to string.$arSection['PICTURE']['TIMESTAMP_X']->format($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:109
- ⇄⧉public __clone(): void Produces the copy of the object.clone $arSection['PICTURE']['TIMESTAMP_X']
/** * Produces the copy of the object. * * @return void */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:119
- ⇄⧉public add($interval): $this Performs dates arithmetic.$arSection['PICTURE']['TIMESTAMP_X']->add($interval)
/** * 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:144
- ⇄⧉public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.$arSection['PICTURE']['TIMESTAMP_X']->setDate($year, $month, $day)
/** * 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:165
- ⇄⧉public getTimestamp(): int Returns Unix timestamp from date.$arSection['PICTURE']['TIMESTAMP_X']->getTimestamp()
/** * Returns Unix timestamp from date. * * @return int */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:214
- ⇄⧉public getDiff(Bitrix\Main\Type\DateTime $time): \DateInterval Returns difference between dates.$arSection['PICTURE']['TIMESTAMP_X']->getDiff(Bitrix\Main\Type\DateTime $time)
/** * Returns difference between dates. * * @param DateTime $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:225
- ⇄⧉public __toString(): string Converts a date to the string with default culture format setting.(string) $arSection['PICTURE']['TIMESTAMP_X']
/** * 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:248
- ⧉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:52
- ⧉private tryToCreateIntervalByDesignators($interval)
Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:172
- ⇄⧉public static secondsToOffset($seconds)\Bitrix\Main\Type\DateTime::secondsToOffset($seconds)
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:67
- ⇄⧉public static createFromUserTime($timeString): DateTime Creates DateTime object from local user time using global timezone settings and ...\Bitrix\Main\Type\DateTime::createFromUserTime($timeString)
/** * 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:177
- ⇄⧉public static createFromPhp(DateTime $datetime): static Creates DateTime object from PHP \DateTime object.\Bitrix\Main\Type\DateTime::createFromPhp(DateTime $datetime)
/** * Creates DateTime object from PHP \DateTime object. * * @param \DateTime $datetime Source object. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:230
- ⇄⧉public static createFromTimestamp($timestamp): static Creates DateTime object from Unix timestamp.\Bitrix\Main\Type\DateTime::createFromTimestamp($timestamp)
/** * Creates DateTime object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:244
- ⇄⧉public static tryParse($timeString, $format = null): DateTime|null Creates DateTime object from string. NULL will be returned on failure.\Bitrix\Main\Type\DateTime::tryParse($timeString, $format = null)
/** * 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:258
- ⇄⧉public static getFormat(Bitrix\Main\Context\Culture $culture = null): string Returns a date format from the culture in the php format.\Bitrix\Main\Type\Date::getFormat(Bitrix\Main\Context\Culture $culture = null)
/** * Returns a date format from the culture in the php format. * * @param Context\Culture $culture Optional culture. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:260
- ⇄⧉public static convertFormatToPhp($format): mixed Converts date format from culture to php format.\Bitrix\Main\Type\Date::convertFormatToPhp($format)
/** * Converts date format from culture to php format. * * @param string $format Format string. * * @return mixed */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:305
- ⇄⧉public static isCorrect($time, $format = null): bool Checks the string for correct date (by trying to create Date object).\Bitrix\Main\Type\Date::isCorrect($time, $format = null)
/** * 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 */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:355
- ⇄⧉public static createFromText($text): DateTime|null Creates Date object from Text (return array of result object) Examples: "end of ...\Bitrix\Main\Type\Date::createFromText($text)
/** * 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 */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:413
- ⧉protected static 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 $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:214
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)
30.11.2018 19:11:00
- ⇄MODULE_ID => string (6) "iblock"$arSection['PICTURE']['MODULE_ID']
- ⇄HEIGHT => string (3) "600"$arSection['PICTURE']['HEIGHT']
- ⇄WIDTH => string (3) "584"$arSection['PICTURE']['WIDTH']
- ⇄FILE_SIZE => string (6) "117172"$arSection['PICTURE']['FILE_SIZE']
- ⇄CONTENT_TYPE => string (9) "image/gif"$arSection['PICTURE']['CONTENT_TYPE']
- ⇄SUBDIR => string (10) "iblock/474"$arSection['PICTURE']['SUBDIR']
- ⇄FILE_NAME => string (24) "7518517_816AE47DBA88.gif"$arSection['PICTURE']['FILE_NAME']
- ⇄ORIGINAL_NAME => string (24) "7518517_816AE47DBA88.gif"$arSection['PICTURE']['ORIGINAL_NAME']
- ⇄DESCRIPTION => string (0) ""$arSection['PICTURE']['DESCRIPTION']
- ⇄HANDLER_ID => null$arSection['PICTURE']['HANDLER_ID']
- ⇄EXTERNAL_ID => string (32) "538ca38ddd8687beb93ab1d715a26faa"$arSection['PICTURE']['EXTERNAL_ID']
- ⇄~src => boolean false$arSection['PICTURE']['~src']
- ⇄SRC => string (43) "/upload/iblock/474/7518517_816AE47DBA88.gif"$arSection['PICTURE']['SRC']
- ⇄UNSAFE_SRC => string (43) "/upload/iblock/474/7518517_816AE47DBA88.gif"$arSection['PICTURE']['UNSAFE_SRC']
- ⇄SAFE_SRC => string (43) "/upload/iblock/474/7518517_816AE47DBA88.gif"$arSection['PICTURE']['SAFE_SRC']
- ⇄ALT => string (16) "Datora piederumi"$arSection['PICTURE']['ALT']
- ⇄TITLE => string (16) "Datora piederumi"$arSection['PICTURE']['TITLE']
- ⇄ID => string (5) "40398"
- ⇄~PICTURE => string (5) "40398"$arSection['~PICTURE']
- ⇄LEFT_MARGIN => string (3) "260"$arSection['LEFT_MARGIN']
- ⇄~LEFT_MARGIN => string (3) "260"$arSection['~LEFT_MARGIN']
- ⇄RIGHT_MARGIN => string (3) "261"$arSection['RIGHT_MARGIN']
- ⇄~RIGHT_MARGIN => string (3) "261"$arSection['~RIGHT_MARGIN']
- ⇄DEPTH_LEVEL => string (1) "2"$arSection['DEPTH_LEVEL']
- ⇄~DEPTH_LEVEL => string (1) "2"$arSection['~DEPTH_LEVEL']
- ⇄DESCRIPTION => string (0) ""$arSection['DESCRIPTION']
- ⇄~DESCRIPTION => string (0) ""$arSection['~DESCRIPTION']
- ⇄DESCRIPTION_TYPE => string (4) "text"$arSection['DESCRIPTION_TYPE']
- ⇄~DESCRIPTION_TYPE => string (4) "text"$arSection['~DESCRIPTION_TYPE']
- ⇄⧉SEARCHABLE_CONTENT => string (18) "DATORA PIEDERUMI "$arSection['SEARCHABLE_CONTENT']
DATORA PIEDERUMI
- ⇄⧉~SEARCHABLE_CONTENT => string (18) "DATORA PIEDERUMI "$arSection['~SEARCHABLE_CONTENT']
DATORA PIEDERUMI
- ⇄CODE => string (16) "datora_piederumi"$arSection['CODE']
- ⇄~CODE => string (16) "datora_piederumi"$arSection['~CODE']
- ⇄XML_ID => string (36) "e1058b9c-0c57-11e6-833c-000c297a2876"$arSection['XML_ID']
- ⇄~XML_ID => string (36) "e1058b9c-0c57-11e6-833c-000c297a2876"$arSection['~XML_ID']
- ⇄TMP_ID => null$arSection['TMP_ID']
- ⇄~TMP_ID => null$arSection['~TMP_ID']
- ⇄DETAIL_PICTURE => null$arSection['DETAIL_PICTURE']
- ⇄~DETAIL_PICTURE => null$arSection['~DETAIL_PICTURE']
- ⇄SOCNET_GROUP_ID => null$arSection['SOCNET_GROUP_ID']
- ⇄~SOCNET_GROUP_ID => null$arSection['~SOCNET_GROUP_ID']
- ⇄NAME_EN => string (0) ""$arSection['NAME_EN']
- ⇄~NAME_EN => string (0) ""$arSection['~NAME_EN']
- ⇄NAME_RU => string (0) ""$arSection['NAME_RU']
- ⇄~NAME_RU => string (0) ""$arSection['~NAME_RU']
- ⇄DESCRIPTION_EN => string (0) ""$arSection['DESCRIPTION_EN']
- ⇄~DESCRIPTION_EN => string (0) ""$arSection['~DESCRIPTION_EN']
- ⇄DESCRIPTION_RU => string (0) ""$arSection['DESCRIPTION_RU']
- ⇄~DESCRIPTION_RU => string (0) ""$arSection['~DESCRIPTION_RU']
- ⇄LIST_PAGE_URL => string (8) "catalog/"$arSection['LIST_PAGE_URL']
- ⇄~LIST_PAGE_URL => string (8) "catalog/"$arSection['~LIST_PAGE_URL']
- ⇄SECTION_PAGE_URL => string (54) "/lv/catalog/datortehnikas_aksesuaari/datora_piederumi/"$arSection['SECTION_PAGE_URL']
- ⇄~SECTION_PAGE_URL => string (54) "/lv/catalog/datortehnikas_aksesuaari/datora_piederumi/"$arSection['~SECTION_PAGE_URL']
- ⇄IBLOCK_TYPE_ID => string (10) "xmlcatalog"$arSection['IBLOCK_TYPE_ID']
- ⇄~IBLOCK_TYPE_ID => string (10) "xmlcatalog"$arSection['~IBLOCK_TYPE_ID']
- ⇄IBLOCK_CODE => string (14) "estore-catalog"$arSection['IBLOCK_CODE']
- ⇄~IBLOCK_CODE => string (14) "estore-catalog"$arSection['~IBLOCK_CODE']
- ⇄IBLOCK_EXTERNAL_ID => string (47) "xmlcatalog-3f9fc72e-b824-11e3-b952-d43d7e49b8c5"$arSection['IBLOCK_EXTERNAL_ID']
- ⇄~IBLOCK_EXTERNAL_ID => string (47) "xmlcatalog-3f9fc72e-b824-11e3-b952-d43d7e49b8c5"$arSection['~IBLOCK_EXTERNAL_ID']
- ⇄EXTERNAL_ID => string (36) "e1058b9c-0c57-11e6-833c-000c297a2876"$arSection['EXTERNAL_ID']
- ⇄~EXTERNAL_ID => string (36) "e1058b9c-0c57-11e6-833c-000c297a2876"$arSection['~EXTERNAL_ID']
- ⇄RELATIVE_DEPTH_LEVEL => integer 1$arSection['RELATIVE_DEPTH_LEVEL']
- ⇄EDIT_LINK => null$arSection['EDIT_LINK']
- ⇄DELETE_LINK => null$arSection['DELETE_LINK']
- ⇄~ELEMENT_CNT => string (1) "0"$arSection['~ELEMENT_CNT']
- ⇄ELEMENT_CNT => string (1) "0"$arSection['ELEMENT_CNT']
- ⇄IPROPERTY_VALUES => array (0)$arSection['IPROPERTY_VALUES']
- ⇄ID => string (3) "207"
- ⧉⌕$arSection array (72)
- ⇄ID => string (3) "208"$arSection['ID']
- ⇄~ID => string (3) "208"$arSection['~ID']
- ⇄TIMESTAMP_X => string (19) "15.08.2022 16:33:36"$arSection['TIMESTAMP_X']
- ⇄~TIMESTAMP_X => string (19) "15.08.2022 16:33:36"$arSection['~TIMESTAMP_X']
- ⇄MODIFIED_BY => string (1) "6"$arSection['MODIFIED_BY']
- ⇄~MODIFIED_BY => string (1) "6"$arSection['~MODIFIED_BY']
- ⇄DATE_CREATE => string (19) "31.07.2018 12:45:38"$arSection['DATE_CREATE']
- ⇄~DATE_CREATE => string (19) "31.07.2018 12:45:38"$arSection['~DATE_CREATE']
- ⇄CREATED_BY => string (1) "6"$arSection['CREATED_BY']
- ⇄~CREATED_BY => string (1) "6"$arSection['~CREATED_BY']
- ⇄IBLOCK_ID => string (2) "26"$arSection['IBLOCK_ID']
- ⇄~IBLOCK_ID => string (2) "26"$arSection['~IBLOCK_ID']
- ⇄IBLOCK_SECTION_ID => string (3) "199"$arSection['IBLOCK_SECTION_ID']
- ⇄~IBLOCK_SECTION_ID => string (3) "199"$arSection['~IBLOCK_SECTION_ID']
- ⇄ACTIVE => string (1) "Y"$arSection['ACTIVE']
- ⇄~ACTIVE => string (1) "Y"$arSection['~ACTIVE']
- ⇄GLOBAL_ACTIVE => string (1) "Y"$arSection['GLOBAL_ACTIVE']
- ⇄~GLOBAL_ACTIVE => string (1) "Y"$arSection['~GLOBAL_ACTIVE']
- ⇄SORT => string (3) "260"$arSection['SORT']
- ⇄~SORT => string (3) "260"$arSection['~SORT']
- ⇄NAME => UTF-8 string (58) "Datorpeles paliktņi, plaukstu atbalsti darbā ar klaviatūru"$arSection['NAME']
- ⇄~NAME => UTF-8 string (58) "Datorpeles paliktņi, plaukstu atbalsti darbā ar klaviatūru"$arSection['~NAME']
- ⇄⧉PICTURE => array (19)$arSection['PICTURE']
- ⇄ID => string (5) "40399"$arSection['PICTURE']['ID']
- ⇄⧉TIMESTAMP_X => Bitrix\Main\Type\DateTime (1)$arSection['PICTURE']['TIMESTAMP_X']
- Properties
- Available methods (26)
- toString
- ⧉protected value -> DateTime (3) 2018-11-30 19:11:20+02:00 EET
- Properties (3)
- Available methods (19)
- Static class properties (13)
- public date -> string (26) "2018-11-30 19:11:20.000000"
- public timezone_type -> integer 3
- public timezone -> string (11) "Europe/Riga"
- public getTimezone()
- public getTimestamp()
- public setTimestamp($unixtimestamp)
- public setDate($year, $month, $day)
- public getOffset()
- public setTimezone($timezone)
- public sub($interval)
- public __wakeup()
- public add($interval)
- public modify($modify)
- public format($format)
- public diff($object, $absolute)
- ⇄public static getLastErrors()\DateTime::getLastErrors()
- ⇄public static createFromFormat($format, $time, DateTimeZone $object)\DateTime::createFromFormat($format, $time, DateTimeZone $object)
- ⇄public static createFromImmutable($DateTimeImmutable)\DateTime::createFromImmutable($DateTimeImmutable)
- public static __set_state(array $array)
- ⇄const ATOM :: string (13) "Y-m-d\TH:i:sP"\DateTime::ATOM
- ⇄const COOKIE :: string (16) "l, d-M-Y H:i:s T"\DateTime::COOKIE
- ⇄const ISO8601 :: string (13) "Y-m-d\TH:i:sO"\DateTime::ISO8601
- ⇄const RFC822 :: string (16) "D, d M y H:i:s O"\DateTime::RFC822
- ⇄const RFC850 :: string (16) "l, d-M-y H:i:s T"\DateTime::RFC850
- ⇄const RFC1036 :: string (16) "D, d M y H:i:s O"\DateTime::RFC1036
- ⇄const RFC1123 :: string (16) "D, d M Y H:i:s O"\DateTime::RFC1123
- ⇄const RFC7231 :: string (21) "D, d M Y H:i:s \G\M\T"\DateTime::RFC7231
- ⇄const RFC2822 :: string (16) "D, d M Y H:i:s O"\DateTime::RFC2822
- ⇄const RFC3339 :: string (13) "Y-m-d\TH:i:sP"\DateTime::RFC3339
- ⇄const RFC3339_EXTENDED :: string (15) "Y-m-d\TH:i:s.vP"\DateTime::RFC3339_EXTENDED
- ⇄const RSS :: string (16) "D, d M Y H:i:s O"\DateTime::RSS
- ⇄const W3C :: string (13) "Y-m-d\TH:i:sP"\DateTime::W3C
- ⇄const ATOM :: string (13) "Y-m-d\TH:i:sP"
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)new \Bitrix\Main\Type\DateTime($time = null, $format = null, DateTimeZone $timezone = null)
/** * @param string $time String representation of datetime. * @param string $format PHP datetime format. If not specified, the format is got from the current culture. * @param \DateTimeZone $timezone Optional timezone object. * * @throws Main\ObjectException */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:16
- ⇄⧉public toString(Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.$arSection['PICTURE']['TIMESTAMP_X']->toString(Bitrix\Main\Context\Culture $culture = null)
/** * Converts date to string, using Culture and global timezone settings. * * @param Context\Culture $culture Culture contains datetime format. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:82
- ⇄⧉public getTimeZone(): \DateTimeZone Returns timezone object.$arSection['PICTURE']['TIMESTAMP_X']->getTimeZone()
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:103
- ⇄⧉public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.$arSection['PICTURE']['TIMESTAMP_X']->setTimeZone(DateTimeZone $timezone)
/** * Sets timezone object. * * @param \DateTimeZone $timezone Timezone object. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:115
- ⇄⧉public setDefaultTimeZone(): DateTime Sets default timezone.$arSection['PICTURE']['TIMESTAMP_X']->setDefaultTimeZone()
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:126
- ⇄⧉public setTime($hour, $minute, $second0, $microseconds0): DateTime$arSection['PICTURE']['TIMESTAMP_X']->setTime($hour, $minute, $second0, $microseconds0)
/** * @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:141
- ⇄⧉public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.$arSection['PICTURE']['TIMESTAMP_X']->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:152
- ⇄⧉public format($format): string Formats date value to string.$arSection['PICTURE']['TIMESTAMP_X']->format($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:109
- ⇄⧉public __clone(): void Produces the copy of the object.clone $arSection['PICTURE']['TIMESTAMP_X']
/** * Produces the copy of the object. * * @return void */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:119
- ⇄⧉public add($interval): $this Performs dates arithmetic.$arSection['PICTURE']['TIMESTAMP_X']->add($interval)
/** * 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:144
- ⇄⧉public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.$arSection['PICTURE']['TIMESTAMP_X']->setDate($year, $month, $day)
/** * 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:165
- ⇄⧉public getTimestamp(): int Returns Unix timestamp from date.$arSection['PICTURE']['TIMESTAMP_X']->getTimestamp()
/** * Returns Unix timestamp from date. * * @return int */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:214
- ⇄⧉public getDiff(Bitrix\Main\Type\DateTime $time): \DateInterval Returns difference between dates.$arSection['PICTURE']['TIMESTAMP_X']->getDiff(Bitrix\Main\Type\DateTime $time)
/** * Returns difference between dates. * * @param DateTime $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:225
- ⇄⧉public __toString(): string Converts a date to the string with default culture format setting.(string) $arSection['PICTURE']['TIMESTAMP_X']
/** * 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:248
- ⧉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:52
- ⧉private tryToCreateIntervalByDesignators($interval)
Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:172
- ⇄⧉public static secondsToOffset($seconds)\Bitrix\Main\Type\DateTime::secondsToOffset($seconds)
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:67
- ⇄⧉public static createFromUserTime($timeString): DateTime Creates DateTime object from local user time using global timezone settings and ...\Bitrix\Main\Type\DateTime::createFromUserTime($timeString)
/** * 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:177
- ⇄⧉public static createFromPhp(DateTime $datetime): static Creates DateTime object from PHP \DateTime object.\Bitrix\Main\Type\DateTime::createFromPhp(DateTime $datetime)
/** * Creates DateTime object from PHP \DateTime object. * * @param \DateTime $datetime Source object. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:230
- ⇄⧉public static createFromTimestamp($timestamp): static Creates DateTime object from Unix timestamp.\Bitrix\Main\Type\DateTime::createFromTimestamp($timestamp)
/** * Creates DateTime object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:244
- ⇄⧉public static tryParse($timeString, $format = null): DateTime|null Creates DateTime object from string. NULL will be returned on failure.\Bitrix\Main\Type\DateTime::tryParse($timeString, $format = null)
/** * 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:258
- ⇄⧉public static getFormat(Bitrix\Main\Context\Culture $culture = null): string Returns a date format from the culture in the php format.\Bitrix\Main\Type\Date::getFormat(Bitrix\Main\Context\Culture $culture = null)
/** * Returns a date format from the culture in the php format. * * @param Context\Culture $culture Optional culture. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:260
- ⇄⧉public static convertFormatToPhp($format): mixed Converts date format from culture to php format.\Bitrix\Main\Type\Date::convertFormatToPhp($format)
/** * Converts date format from culture to php format. * * @param string $format Format string. * * @return mixed */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:305
- ⇄⧉public static isCorrect($time, $format = null): bool Checks the string for correct date (by trying to create Date object).\Bitrix\Main\Type\Date::isCorrect($time, $format = null)
/** * 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 */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:355
- ⇄⧉public static createFromText($text): DateTime|null Creates Date object from Text (return array of result object) Examples: "end of ...\Bitrix\Main\Type\Date::createFromText($text)
/** * 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 */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:413
- ⧉protected static 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 $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:214
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)
30.11.2018 19:11:20
- ⇄MODULE_ID => string (6) "iblock"$arSection['PICTURE']['MODULE_ID']
- ⇄HEIGHT => string (3) "600"$arSection['PICTURE']['HEIGHT']
- ⇄WIDTH => string (3) "582"$arSection['PICTURE']['WIDTH']
- ⇄FILE_SIZE => string (6) "160721"$arSection['PICTURE']['FILE_SIZE']
- ⇄CONTENT_TYPE => string (9) "image/gif"$arSection['PICTURE']['CONTENT_TYPE']
- ⇄SUBDIR => string (10) "iblock/076"$arSection['PICTURE']['SUBDIR']
- ⇄FILE_NAME => string (24) "7502201_816AE47DBA8C.gif"$arSection['PICTURE']['FILE_NAME']
- ⇄ORIGINAL_NAME => string (24) "7502201_816AE47DBA8C.gif"$arSection['PICTURE']['ORIGINAL_NAME']
- ⇄DESCRIPTION => string (0) ""$arSection['PICTURE']['DESCRIPTION']
- ⇄HANDLER_ID => null$arSection['PICTURE']['HANDLER_ID']
- ⇄EXTERNAL_ID => string (32) "aefefd38fd20e1be623a73abb3190126"$arSection['PICTURE']['EXTERNAL_ID']
- ⇄~src => boolean false$arSection['PICTURE']['~src']
- ⇄SRC => string (43) "/upload/iblock/076/7502201_816AE47DBA8C.gif"$arSection['PICTURE']['SRC']
- ⇄UNSAFE_SRC => string (43) "/upload/iblock/076/7502201_816AE47DBA8C.gif"$arSection['PICTURE']['UNSAFE_SRC']
- ⇄SAFE_SRC => string (43) "/upload/iblock/076/7502201_816AE47DBA8C.gif"$arSection['PICTURE']['SAFE_SRC']
- ⇄ALT => UTF-8 string (58) "Datorpeles paliktņi, plaukstu atbalsti darbā ar klaviatūru"$arSection['PICTURE']['ALT']
- ⇄TITLE => UTF-8 string (58) "Datorpeles paliktņi, plaukstu atbalsti darbā ar klaviatūru"$arSection['PICTURE']['TITLE']
- ⇄ID => string (5) "40399"
- ⇄~PICTURE => string (5) "40399"$arSection['~PICTURE']
- ⇄LEFT_MARGIN => string (3) "262"$arSection['LEFT_MARGIN']
- ⇄~LEFT_MARGIN => string (3) "262"$arSection['~LEFT_MARGIN']
- ⇄RIGHT_MARGIN => string (3) "263"$arSection['RIGHT_MARGIN']
- ⇄~RIGHT_MARGIN => string (3) "263"$arSection['~RIGHT_MARGIN']
- ⇄DEPTH_LEVEL => string (1) "2"$arSection['DEPTH_LEVEL']
- ⇄~DEPTH_LEVEL => string (1) "2"$arSection['~DEPTH_LEVEL']
- ⇄DESCRIPTION => string (0) ""$arSection['DESCRIPTION']
- ⇄~DESCRIPTION => string (0) ""$arSection['~DESCRIPTION']
- ⇄DESCRIPTION_TYPE => string (4) "text"$arSection['DESCRIPTION_TYPE']
- ⇄~DESCRIPTION_TYPE => string (4) "text"$arSection['~DESCRIPTION_TYPE']
- ⇄⧉SEARCHABLE_CONTENT => UTF-8 string (60) "DATORPELES PALIKTŅI, PLAUKSTU ATBALSTI DARBĀ AR KLAVIATŪRU "$arSection['SEARCHABLE_CONTENT']
DATORPELES PALIKTŅI, PLAUKSTU ATBALSTI DARBĀ AR KLAVIATŪRU
- ⇄⧉~SEARCHABLE_CONTENT => UTF-8 string (60) "DATORPELES PALIKTŅI, PLAUKSTU ATBALSTI DARBĀ AR KLAVIATŪRU "$arSection['~SEARCHABLE_CONTENT']
DATORPELES PALIKTŅI, PLAUKSTU ATBALSTI DARBĀ AR KLAVIATŪRU
- ⇄CODE => string (59) "datorpeles_paliktni_plaukstu_atbalsti_darbaa_ar_klaviatuuru"$arSection['CODE']
- ⇄~CODE => string (59) "datorpeles_paliktni_plaukstu_atbalsti_darbaa_ar_klaviatuuru"$arSection['~CODE']
- ⇄XML_ID => string (36) "e1058b9d-0c57-11e6-833c-000c297a2876"$arSection['XML_ID']
- ⇄~XML_ID => string (36) "e1058b9d-0c57-11e6-833c-000c297a2876"$arSection['~XML_ID']
- ⇄TMP_ID => null$arSection['TMP_ID']
- ⇄~TMP_ID => null$arSection['~TMP_ID']
- ⇄DETAIL_PICTURE => null$arSection['DETAIL_PICTURE']
- ⇄~DETAIL_PICTURE => null$arSection['~DETAIL_PICTURE']
- ⇄SOCNET_GROUP_ID => null$arSection['SOCNET_GROUP_ID']
- ⇄~SOCNET_GROUP_ID => null$arSection['~SOCNET_GROUP_ID']
- ⇄NAME_EN => string (0) ""$arSection['NAME_EN']
- ⇄~NAME_EN => string (0) ""$arSection['~NAME_EN']
- ⇄NAME_RU => UTF-8 string (53) "Коврики для мыши, эргономичные подушки для клавиатуры"$arSection['NAME_RU']
- ⇄~NAME_RU => UTF-8 string (53) "Коврики для мыши, эргономичные подушки для клавиатуры"$arSection['~NAME_RU']
- ⇄DESCRIPTION_EN => string (0) ""$arSection['DESCRIPTION_EN']
- ⇄~DESCRIPTION_EN => string (0) ""$arSection['~DESCRIPTION_EN']
- ⇄DESCRIPTION_RU => string (0) ""$arSection['DESCRIPTION_RU']
- ⇄~DESCRIPTION_RU => string (0) ""$arSection['~DESCRIPTION_RU']
- ⇄LIST_PAGE_URL => string (8) "catalog/"$arSection['LIST_PAGE_URL']
- ⇄~LIST_PAGE_URL => string (8) "catalog/"$arSection['~LIST_PAGE_URL']
- ⇄⧉SECTION_PAGE_URL => string (97) "/lv/catalog/datortehnikas_aksesuaari/datorpeles_paliktni_plaukstu_atbalsti_darb...$arSection['SECTION_PAGE_URL']
/lv/catalog/datortehnikas_aksesuaari/datorpeles_paliktni_plaukstu_atbalsti_darbaa_ar_klaviatuuru/
- ⇄⧉~SECTION_PAGE_URL => string (97) "/lv/catalog/datortehnikas_aksesuaari/datorpeles_paliktni_plaukstu_atbalsti_darb...$arSection['~SECTION_PAGE_URL']
/lv/catalog/datortehnikas_aksesuaari/datorpeles_paliktni_plaukstu_atbalsti_darbaa_ar_klaviatuuru/
- ⇄IBLOCK_TYPE_ID => string (10) "xmlcatalog"$arSection['IBLOCK_TYPE_ID']
- ⇄~IBLOCK_TYPE_ID => string (10) "xmlcatalog"$arSection['~IBLOCK_TYPE_ID']
- ⇄IBLOCK_CODE => string (14) "estore-catalog"$arSection['IBLOCK_CODE']
- ⇄~IBLOCK_CODE => string (14) "estore-catalog"$arSection['~IBLOCK_CODE']
- ⇄IBLOCK_EXTERNAL_ID => string (47) "xmlcatalog-3f9fc72e-b824-11e3-b952-d43d7e49b8c5"$arSection['IBLOCK_EXTERNAL_ID']
- ⇄~IBLOCK_EXTERNAL_ID => string (47) "xmlcatalog-3f9fc72e-b824-11e3-b952-d43d7e49b8c5"$arSection['~IBLOCK_EXTERNAL_ID']
- ⇄EXTERNAL_ID => string (36) "e1058b9d-0c57-11e6-833c-000c297a2876"$arSection['EXTERNAL_ID']
- ⇄~EXTERNAL_ID => string (36) "e1058b9d-0c57-11e6-833c-000c297a2876"$arSection['~EXTERNAL_ID']
- ⇄RELATIVE_DEPTH_LEVEL => integer 1$arSection['RELATIVE_DEPTH_LEVEL']
- ⇄EDIT_LINK => null$arSection['EDIT_LINK']
- ⇄DELETE_LINK => null$arSection['DELETE_LINK']
- ⇄~ELEMENT_CNT => string (1) "6"$arSection['~ELEMENT_CNT']
- ⇄ELEMENT_CNT => string (1) "6"$arSection['ELEMENT_CNT']
- ⇄IPROPERTY_VALUES => array (0)$arSection['IPROPERTY_VALUES']
- ⇄ID => string (3) "208"