Товар дня
- Kint
- ⧉⌕$arItem[...][...] array (34)
- ⇄ID => string (3) "386"$arItem['PROPERTIES']['MORE_PHOTO']['ID']
- ⇄IBLOCK_ID => string (2) "38"$arItem['PROPERTIES']['MORE_PHOTO']['IBLOCK_ID']
- ⇄NAME => UTF-8 string (8) "Картинки"$arItem['PROPERTIES']['MORE_PHOTO']['NAME']
- ⇄ACTIVE => string (1) "Y"$arItem['PROPERTIES']['MORE_PHOTO']['ACTIVE']
- ⇄SORT => string (3) "500"$arItem['PROPERTIES']['MORE_PHOTO']['SORT']
- ⇄CODE => string (10) "MORE_PHOTO"$arItem['PROPERTIES']['MORE_PHOTO']['CODE']
- ⇄DEFAULT_VALUE => string (0) ""$arItem['PROPERTIES']['MORE_PHOTO']['DEFAULT_VALUE']
- ⇄PROPERTY_TYPE => string (1) "F"$arItem['PROPERTIES']['MORE_PHOTO']['PROPERTY_TYPE']
- ⇄ROW_COUNT => string (1) "1"$arItem['PROPERTIES']['MORE_PHOTO']['ROW_COUNT']
- ⇄COL_COUNT => string (2) "30"$arItem['PROPERTIES']['MORE_PHOTO']['COL_COUNT']
- ⇄LIST_TYPE => string (1) "L"$arItem['PROPERTIES']['MORE_PHOTO']['LIST_TYPE']
- ⇄MULTIPLE => string (1) "Y"$arItem['PROPERTIES']['MORE_PHOTO']['MULTIPLE']
- ⇄XML_ID => string (13) "CML2_PICTURES"$arItem['PROPERTIES']['MORE_PHOTO']['XML_ID']
- ⇄FILE_TYPE => string (30) "jpg, gif, bmp, png, jpeg, webp"$arItem['PROPERTIES']['MORE_PHOTO']['FILE_TYPE']
- ⇄MULTIPLE_CNT => string (1) "1"$arItem['PROPERTIES']['MORE_PHOTO']['MULTIPLE_CNT']
- ⇄LINK_IBLOCK_ID => string (1) "0"$arItem['PROPERTIES']['MORE_PHOTO']['LINK_IBLOCK_ID']
- ⇄WITH_DESCRIPTION => string (1) "Y"$arItem['PROPERTIES']['MORE_PHOTO']['WITH_DESCRIPTION']
- ⇄SEARCHABLE => string (1) "N"$arItem['PROPERTIES']['MORE_PHOTO']['SEARCHABLE']
- ⇄FILTRABLE => string (1) "N"$arItem['PROPERTIES']['MORE_PHOTO']['FILTRABLE']
- ⇄IS_REQUIRED => string (1) "N"$arItem['PROPERTIES']['MORE_PHOTO']['IS_REQUIRED']
- ⇄VERSION => string (1) "1"$arItem['PROPERTIES']['MORE_PHOTO']['VERSION']
- ⇄USER_TYPE => null$arItem['PROPERTIES']['MORE_PHOTO']['USER_TYPE']
- ⇄USER_TYPE_SETTINGS => array (0)$arItem['PROPERTIES']['MORE_PHOTO']['USER_TYPE_SETTINGS']
- ⇄HINT => string (0) ""$arItem['PROPERTIES']['MORE_PHOTO']['HINT']
- ⇄~NAME => UTF-8 string (8) "Картинки"$arItem['PROPERTIES']['MORE_PHOTO']['~NAME']
- ⇄~DEFAULT_VALUE => string (0) ""$arItem['PROPERTIES']['MORE_PHOTO']['~DEFAULT_VALUE']
- ⇄VALUE_ENUM => null$arItem['PROPERTIES']['MORE_PHOTO']['VALUE_ENUM']
- ⇄VALUE_XML_ID => null$arItem['PROPERTIES']['MORE_PHOTO']['VALUE_XML_ID']
- ⇄VALUE_SORT => null$arItem['PROPERTIES']['MORE_PHOTO']['VALUE_SORT']
- ⇄⧉VALUE => array (12)$arItem['PROPERTIES']['MORE_PHOTO']['VALUE']
- Table (12)
- Contents (12)
ID TIMESTAMP_X MODULE_ID HEIGHT WIDTH FILE_SIZE CONTENT_TYPE SUBDIR FILE_NAME ORIGINAL_NAME DESCRIPTION HANDLER_ID EXTERNAL_ID SRC 0 31566 Bitrix\Main\Type\DateTime (2) iblock 1150 767 1047144 image/png iblock/c60 c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png xdd6w2xv65g3qx6ii6uj4ghq2fkoy5dt.png null md5path_e18583dd6183ff5d56721247afbe5458 /upload/iblock/c60/c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png 1 31567 Bitrix\Main\Type\DateTime (2) iblock 767 1151 1223195 image/png iblock/b51 u0cbmlpthz9wketf66v4npv72gs71mar.png yf53zbm30plqg4z55nsw5k4upde0v2tg.png null md5path_08d4f1785402dac7f6cdc1c678250e4e /upload/iblock/b51/u0cbmlpthz9wketf66v4npv72gs71mar.png 2 31568 Bitrix\Main\Type\DateTime (2) iblock 1150 767 1047144 image/png iblock/c60 c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png 2qia7fjfxg20ak5yoe4pp5uig47tei47.png null md5path_6ede9bc144b2656d753b7af4275b8b39 /upload/iblock/c60/c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png 3 31569 Bitrix\Main\Type\DateTime (2) iblock 1150 767 1047144 image/png iblock/c60 c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png 0obid42b0zyxlz1njx7qovy6qdqtnm2t.png null md5path_b6da158a70eb2cacdb3e66f29df8ac9f /upload/iblock/c60/c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png 4 31570 Bitrix\Main\Type\DateTime (2) iblock 767 1151 1223195 image/png iblock/b51 u0cbmlpthz9wketf66v4npv72gs71mar.png 2hlarrs44v6rskv613vimvauk2nza98j.png null md5path_27a795269c7b0294150825f5fb61ae7c /upload/iblock/b51/u0cbmlpthz9wketf66v4npv72gs71mar.png 5 31571 Bitrix\Main\Type\DateTime (2) iblock 1150 767 1047144 image/png iblock/c60 c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png 704lg95hxr5r3jtsb8s0lufymqfvy2rb.png null md5path_176a1aee148d8d36f4664fc86209d6af /upload/iblock/c60/c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png 6 31572 Bitrix\Main\Type\DateTime (2) iblock 1150 767 1047144 image/png iblock/c60 c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png mwdt1nlcugl8bc0f5j6cb9g30tuj56on.png null md5path_a3ee9eccfda24190e73ba00aef70a68e /upload/iblock/c60/c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png 7 31573 Bitrix\Main\Type\DateTime (2) iblock 767 1151 1223195 image/png iblock/b51 u0cbmlpthz9wketf66v4npv72gs71mar.png w3jy8tkyotx84zy45uzq00fjss9u8j7t.png null md5path_644b280a4b6889c65c6b546a7c34bb7c /upload/iblock/b51/u0cbmlpthz9wketf66v4npv72gs71mar.png 8 31574 Bitrix\Main\Type\DateTime (2) iblock 1150 767 1047144 image/png iblock/c60 c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png 5u1gb3bio5nnu9l5z2plnlx2m1rmoxv3.png null md5path_b95c8162d2b40ddfa9ef3fa9c1dde39a /upload/iblock/c60/c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png 9 31575 Bitrix\Main\Type\DateTime (2) iblock 1150 767 1047144 image/png iblock/c60 c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png go3e8fpayvadk6pug4jydy3f1plhom07.png null md5path_0dd538f60dbfca32fc6719ebd0ca5aad /upload/iblock/c60/c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png 10 31576 Bitrix\Main\Type\DateTime (2) iblock 767 1151 1223195 image/png iblock/b51 u0cbmlpthz9wketf66v4npv72gs71mar.png 6o8h98kgzr55lwdfk1wy92gbfc0uun3s.png null md5path_d12063ab5b2a5b9aec7e73f3e3753e0c /upload/iblock/b51/u0cbmlpthz9wketf66v4npv72gs71mar.png 11 31577 Bitrix\Main\Type\DateTime (2) iblock 1150 767 1047144 image/png iblock/c60 c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png rudfjt39cck3vpdxxklks52fzq4lql13.png null md5path_2fa2cf437ffcef3c2353378fd4e419ab /upload/iblock/c60/c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png - ⇄⧉0 => array (14)$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]
- ⇄ID => string (5) "31566"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['ID']
- ⇄⧉TIMESTAMP_X => Bitrix\Main\Type\DateTime (2)$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['TIMESTAMP_X']
- Properties (2)
- Available methods (28)
- ⧉protected value -> DateTime (3) 2024-02-20 10:05:47+03:00 MSK
- Properties (3)
- Available methods (20)
- Static class properties (13)
- public date -> string (26) "2024-02-20 10:05:47.000000"
- public timezone_type -> integer 3
- public timezone -> string (13) "Europe/Moscow"
- public __wakeup()
- public format(string $format)
- public modify(string $modifier)
- public add(DateInterval $interval)
- public sub(DateInterval $interval)
- public getTimezone()
- public getOffset()
- public setTimestamp(int $timestamp)
- public getTimestamp()
- public static __set_state(array $array)
- ⇄public static createFromImmutable(DateTimeImmutable $object)\DateTime::createFromImmutable(DateTimeImmutable $object)
- ⇄public static createFromInterface(DateTimeInterface $object): DateTime\DateTime::createFromInterface(DateTimeInterface $object)
- ⇄public static createFromFormat(string $format, string $datetime, DateTimeZone $timezone = null)\DateTime::createFromFormat(string $format, string $datetime, DateTimeZone $timezone = null)
- ⇄public static getLastErrors()\DateTime::getLastErrors()
- ⇄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"
- protected userTimeEnabled -> boolean true
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)new \Bitrix\Main\Type\DateTime($time = null, $format = null, DateTimeZone $timezone = null)
/** * @param string | null $time String representation of datetime. * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture. * @param \DateTimeZone | null $timezone Optional timezone object. * * @throws Main\ObjectException */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
- ⇄⧉public toString(Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['TIMESTAMP_X']->toString(Bitrix\Main\Context\Culture $culture = null)
/** * Converts date to string, using Culture and global timezone settings. * * @param Context\Culture | null $culture Culture contains datetime format. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:86
- ⇄⧉public getTimeZone(): \DateTimeZone Returns timezone object.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['TIMESTAMP_X']->getTimeZone()
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
- ⇄⧉public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['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:118
- ⇄⧉public setDefaultTimeZone(): DateTime Sets default timezone.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['TIMESTAMP_X']->setDefaultTimeZone()
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
- ⇄⧉public setTime($hour, $minute, $second0, $microseconds0): DateTime$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['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:144
- ⇄⧉public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['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:155
- ⇄⧉public isUserTimeEnabled(): bool$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['TIMESTAMP_X']->isUserTimeEnabled()
/** * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
- ⇄⧉public disableUserTime(): $this$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['TIMESTAMP_X']->disableUserTime()
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
- ⇄⧉public enableUserTime(): $this$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['TIMESTAMP_X']->enableUserTime()
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
- ⇄⧉public format($format): string Formats date value to string.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['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:110
- ⇄⧉public __clone(): void Produces the copy of the object.clone $arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['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:120
- ⇄⧉public add($interval): $this Performs dates arithmetic.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['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:145
- ⇄⧉public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['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:166
- ⇄⧉public getTimestamp(): int Returns Unix timestamp from date.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['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:215
- ⇄⧉public getDiff(Bitrix\Main\Type\Date $time): \DateInterval Returns difference between dates.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['TIMESTAMP_X']->getDiff(Bitrix\Main\Type\Date $time)
/** * Returns difference between dates. * * @param Date $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:226
- ⇄⧉public __toString(): string Converts a date to the string with default culture format setting.(string) $arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['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:249
- ⧉protected parse($format, $time): array|bool
/** * @param string $format * @param string $time * @return array|bool */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:53
- ⇄⧉public static secondsToOffset($seconds, $delimiter = '')\Bitrix\Main\Type\DateTime::secondsToOffset($seconds, $delimiter = '')
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
- ⇄⧉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:180
- ⇄⧉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:232
- ⇄⧉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:246
- ⇄⧉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:260
- ⇄⧉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 | null $culture Optional culture. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:261
- ⇄⧉public static convertFormatToPhp($format): string 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 string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:306
- ⇄⧉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:356
- ⇄⧉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:414
- ⧉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 | null $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:216
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)
- ⇄MODULE_ID => string (6) "iblock"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['MODULE_ID']
- ⇄HEIGHT => string (4) "1150"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['HEIGHT']
- ⇄WIDTH => string (3) "767"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['WIDTH']
- ⇄FILE_SIZE => string (7) "1047144"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['FILE_SIZE']
- ⇄CONTENT_TYPE => string (9) "image/png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['CONTENT_TYPE']
- ⇄SUBDIR => string (10) "iblock/c60"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['SUBDIR']
- ⇄FILE_NAME => string (36) "c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['FILE_NAME']
- ⇄ORIGINAL_NAME => string (36) "xdd6w2xv65g3qx6ii6uj4ghq2fkoy5dt.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['ORIGINAL_NAME']
- ⇄DESCRIPTION => string (0) ""$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['DESCRIPTION']
- ⇄HANDLER_ID => null$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['HANDLER_ID']
- ⇄EXTERNAL_ID => string (40) "md5path_e18583dd6183ff5d56721247afbe5458"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['EXTERNAL_ID']
- ⇄SRC => string (55) "/upload/iblock/c60/c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][0]['SRC']
- ⇄ID => string (5) "31566"
- ⇄⧉1 => array (14)$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]
- ⇄ID => string (5) "31567"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['ID']
- ⇄⧉TIMESTAMP_X => Bitrix\Main\Type\DateTime (2)$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['TIMESTAMP_X']
- Properties (2)
- Available methods (28)
- ⧉protected value -> DateTime (3) 2024-02-20 10:05:47+03:00 MSK
- Properties (3)
- Available methods (20)
- Static class properties (13)
- public date -> string (26) "2024-02-20 10:05:47.000000"
- public timezone_type -> integer 3
- public timezone -> string (13) "Europe/Moscow"
- public __wakeup()
- public format(string $format)
- public modify(string $modifier)
- public add(DateInterval $interval)
- public sub(DateInterval $interval)
- public getTimezone()
- public getOffset()
- public setTimestamp(int $timestamp)
- public getTimestamp()
- public static __set_state(array $array)
- ⇄public static createFromImmutable(DateTimeImmutable $object)\DateTime::createFromImmutable(DateTimeImmutable $object)
- ⇄public static createFromInterface(DateTimeInterface $object): DateTime\DateTime::createFromInterface(DateTimeInterface $object)
- ⇄public static createFromFormat(string $format, string $datetime, DateTimeZone $timezone = null)\DateTime::createFromFormat(string $format, string $datetime, DateTimeZone $timezone = null)
- ⇄public static getLastErrors()\DateTime::getLastErrors()
- ⇄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"
- protected userTimeEnabled -> boolean true
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)new \Bitrix\Main\Type\DateTime($time = null, $format = null, DateTimeZone $timezone = null)
/** * @param string | null $time String representation of datetime. * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture. * @param \DateTimeZone | null $timezone Optional timezone object. * * @throws Main\ObjectException */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
- ⇄⧉public toString(Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['TIMESTAMP_X']->toString(Bitrix\Main\Context\Culture $culture = null)
/** * Converts date to string, using Culture and global timezone settings. * * @param Context\Culture | null $culture Culture contains datetime format. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:86
- ⇄⧉public getTimeZone(): \DateTimeZone Returns timezone object.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['TIMESTAMP_X']->getTimeZone()
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
- ⇄⧉public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['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:118
- ⇄⧉public setDefaultTimeZone(): DateTime Sets default timezone.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['TIMESTAMP_X']->setDefaultTimeZone()
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
- ⇄⧉public setTime($hour, $minute, $second0, $microseconds0): DateTime$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['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:144
- ⇄⧉public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['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:155
- ⇄⧉public isUserTimeEnabled(): bool$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['TIMESTAMP_X']->isUserTimeEnabled()
/** * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
- ⇄⧉public disableUserTime(): $this$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['TIMESTAMP_X']->disableUserTime()
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
- ⇄⧉public enableUserTime(): $this$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['TIMESTAMP_X']->enableUserTime()
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
- ⇄⧉public format($format): string Formats date value to string.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['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:110
- ⇄⧉public __clone(): void Produces the copy of the object.clone $arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['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:120
- ⇄⧉public add($interval): $this Performs dates arithmetic.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['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:145
- ⇄⧉public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['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:166
- ⇄⧉public getTimestamp(): int Returns Unix timestamp from date.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['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:215
- ⇄⧉public getDiff(Bitrix\Main\Type\Date $time): \DateInterval Returns difference between dates.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['TIMESTAMP_X']->getDiff(Bitrix\Main\Type\Date $time)
/** * Returns difference between dates. * * @param Date $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:226
- ⇄⧉public __toString(): string Converts a date to the string with default culture format setting.(string) $arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['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:249
- ⧉protected parse($format, $time): array|bool
/** * @param string $format * @param string $time * @return array|bool */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:53
- ⇄⧉public static secondsToOffset($seconds, $delimiter = '')\Bitrix\Main\Type\DateTime::secondsToOffset($seconds, $delimiter = '')
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
- ⇄⧉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:180
- ⇄⧉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:232
- ⇄⧉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:246
- ⇄⧉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:260
- ⇄⧉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 | null $culture Optional culture. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:261
- ⇄⧉public static convertFormatToPhp($format): string 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 string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:306
- ⇄⧉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:356
- ⇄⧉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:414
- ⧉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 | null $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:216
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)
- ⇄MODULE_ID => string (6) "iblock"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['MODULE_ID']
- ⇄HEIGHT => string (3) "767"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['HEIGHT']
- ⇄WIDTH => string (4) "1151"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['WIDTH']
- ⇄FILE_SIZE => string (7) "1223195"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['FILE_SIZE']
- ⇄CONTENT_TYPE => string (9) "image/png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['CONTENT_TYPE']
- ⇄SUBDIR => string (10) "iblock/b51"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['SUBDIR']
- ⇄FILE_NAME => string (36) "u0cbmlpthz9wketf66v4npv72gs71mar.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['FILE_NAME']
- ⇄ORIGINAL_NAME => string (36) "yf53zbm30plqg4z55nsw5k4upde0v2tg.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['ORIGINAL_NAME']
- ⇄DESCRIPTION => string (0) ""$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['DESCRIPTION']
- ⇄HANDLER_ID => null$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['HANDLER_ID']
- ⇄EXTERNAL_ID => string (40) "md5path_08d4f1785402dac7f6cdc1c678250e4e"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['EXTERNAL_ID']
- ⇄SRC => string (55) "/upload/iblock/b51/u0cbmlpthz9wketf66v4npv72gs71mar.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][1]['SRC']
- ⇄ID => string (5) "31567"
- ⇄⧉2 => array (14)$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]
- ⇄ID => string (5) "31568"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['ID']
- ⇄⧉TIMESTAMP_X => Bitrix\Main\Type\DateTime (2)$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['TIMESTAMP_X']
- Properties (2)
- Available methods (28)
- ⧉protected value -> DateTime (3) 2024-02-20 10:05:47+03:00 MSK
- Properties (3)
- Available methods (20)
- Static class properties (13)
- public date -> string (26) "2024-02-20 10:05:47.000000"
- public timezone_type -> integer 3
- public timezone -> string (13) "Europe/Moscow"
- public __wakeup()
- public format(string $format)
- public modify(string $modifier)
- public add(DateInterval $interval)
- public sub(DateInterval $interval)
- public getTimezone()
- public getOffset()
- public setTimestamp(int $timestamp)
- public getTimestamp()
- public static __set_state(array $array)
- ⇄public static createFromImmutable(DateTimeImmutable $object)\DateTime::createFromImmutable(DateTimeImmutable $object)
- ⇄public static createFromInterface(DateTimeInterface $object): DateTime\DateTime::createFromInterface(DateTimeInterface $object)
- ⇄public static createFromFormat(string $format, string $datetime, DateTimeZone $timezone = null)\DateTime::createFromFormat(string $format, string $datetime, DateTimeZone $timezone = null)
- ⇄public static getLastErrors()\DateTime::getLastErrors()
- ⇄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"
- protected userTimeEnabled -> boolean true
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)new \Bitrix\Main\Type\DateTime($time = null, $format = null, DateTimeZone $timezone = null)
/** * @param string | null $time String representation of datetime. * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture. * @param \DateTimeZone | null $timezone Optional timezone object. * * @throws Main\ObjectException */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
- ⇄⧉public toString(Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['TIMESTAMP_X']->toString(Bitrix\Main\Context\Culture $culture = null)
/** * Converts date to string, using Culture and global timezone settings. * * @param Context\Culture | null $culture Culture contains datetime format. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:86
- ⇄⧉public getTimeZone(): \DateTimeZone Returns timezone object.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['TIMESTAMP_X']->getTimeZone()
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
- ⇄⧉public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['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:118
- ⇄⧉public setDefaultTimeZone(): DateTime Sets default timezone.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['TIMESTAMP_X']->setDefaultTimeZone()
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
- ⇄⧉public setTime($hour, $minute, $second0, $microseconds0): DateTime$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['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:144
- ⇄⧉public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['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:155
- ⇄⧉public isUserTimeEnabled(): bool$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['TIMESTAMP_X']->isUserTimeEnabled()
/** * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
- ⇄⧉public disableUserTime(): $this$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['TIMESTAMP_X']->disableUserTime()
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
- ⇄⧉public enableUserTime(): $this$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['TIMESTAMP_X']->enableUserTime()
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
- ⇄⧉public format($format): string Formats date value to string.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['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:110
- ⇄⧉public __clone(): void Produces the copy of the object.clone $arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['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:120
- ⇄⧉public add($interval): $this Performs dates arithmetic.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['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:145
- ⇄⧉public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['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:166
- ⇄⧉public getTimestamp(): int Returns Unix timestamp from date.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['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:215
- ⇄⧉public getDiff(Bitrix\Main\Type\Date $time): \DateInterval Returns difference between dates.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['TIMESTAMP_X']->getDiff(Bitrix\Main\Type\Date $time)
/** * Returns difference between dates. * * @param Date $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:226
- ⇄⧉public __toString(): string Converts a date to the string with default culture format setting.(string) $arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['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:249
- ⧉protected parse($format, $time): array|bool
/** * @param string $format * @param string $time * @return array|bool */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:53
- ⇄⧉public static secondsToOffset($seconds, $delimiter = '')\Bitrix\Main\Type\DateTime::secondsToOffset($seconds, $delimiter = '')
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
- ⇄⧉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:180
- ⇄⧉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:232
- ⇄⧉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:246
- ⇄⧉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:260
- ⇄⧉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 | null $culture Optional culture. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:261
- ⇄⧉public static convertFormatToPhp($format): string 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 string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:306
- ⇄⧉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:356
- ⇄⧉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:414
- ⧉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 | null $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:216
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)
- ⇄MODULE_ID => string (6) "iblock"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['MODULE_ID']
- ⇄HEIGHT => string (4) "1150"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['HEIGHT']
- ⇄WIDTH => string (3) "767"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['WIDTH']
- ⇄FILE_SIZE => string (7) "1047144"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['FILE_SIZE']
- ⇄CONTENT_TYPE => string (9) "image/png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['CONTENT_TYPE']
- ⇄SUBDIR => string (10) "iblock/c60"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['SUBDIR']
- ⇄FILE_NAME => string (36) "c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['FILE_NAME']
- ⇄ORIGINAL_NAME => string (36) "2qia7fjfxg20ak5yoe4pp5uig47tei47.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['ORIGINAL_NAME']
- ⇄DESCRIPTION => string (0) ""$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['DESCRIPTION']
- ⇄HANDLER_ID => null$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['HANDLER_ID']
- ⇄EXTERNAL_ID => string (40) "md5path_6ede9bc144b2656d753b7af4275b8b39"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['EXTERNAL_ID']
- ⇄SRC => string (55) "/upload/iblock/c60/c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][2]['SRC']
- ⇄ID => string (5) "31568"
- ⇄⧉3 => array (14)$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]
- ⇄ID => string (5) "31569"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['ID']
- ⇄⧉TIMESTAMP_X => Bitrix\Main\Type\DateTime (2)$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['TIMESTAMP_X']
- Properties (2)
- Available methods (28)
- ⧉protected value -> DateTime (3) 2024-02-20 10:05:47+03:00 MSK
- Properties (3)
- Available methods (20)
- Static class properties (13)
- public date -> string (26) "2024-02-20 10:05:47.000000"
- public timezone_type -> integer 3
- public timezone -> string (13) "Europe/Moscow"
- public __wakeup()
- public format(string $format)
- public modify(string $modifier)
- public add(DateInterval $interval)
- public sub(DateInterval $interval)
- public getTimezone()
- public getOffset()
- public setTimestamp(int $timestamp)
- public getTimestamp()
- public static __set_state(array $array)
- ⇄public static createFromImmutable(DateTimeImmutable $object)\DateTime::createFromImmutable(DateTimeImmutable $object)
- ⇄public static createFromInterface(DateTimeInterface $object): DateTime\DateTime::createFromInterface(DateTimeInterface $object)
- ⇄public static createFromFormat(string $format, string $datetime, DateTimeZone $timezone = null)\DateTime::createFromFormat(string $format, string $datetime, DateTimeZone $timezone = null)
- ⇄public static getLastErrors()\DateTime::getLastErrors()
- ⇄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"
- protected userTimeEnabled -> boolean true
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)new \Bitrix\Main\Type\DateTime($time = null, $format = null, DateTimeZone $timezone = null)
/** * @param string | null $time String representation of datetime. * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture. * @param \DateTimeZone | null $timezone Optional timezone object. * * @throws Main\ObjectException */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
- ⇄⧉public toString(Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['TIMESTAMP_X']->toString(Bitrix\Main\Context\Culture $culture = null)
/** * Converts date to string, using Culture and global timezone settings. * * @param Context\Culture | null $culture Culture contains datetime format. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:86
- ⇄⧉public getTimeZone(): \DateTimeZone Returns timezone object.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['TIMESTAMP_X']->getTimeZone()
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
- ⇄⧉public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['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:118
- ⇄⧉public setDefaultTimeZone(): DateTime Sets default timezone.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['TIMESTAMP_X']->setDefaultTimeZone()
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
- ⇄⧉public setTime($hour, $minute, $second0, $microseconds0): DateTime$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['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:144
- ⇄⧉public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['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:155
- ⇄⧉public isUserTimeEnabled(): bool$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['TIMESTAMP_X']->isUserTimeEnabled()
/** * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
- ⇄⧉public disableUserTime(): $this$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['TIMESTAMP_X']->disableUserTime()
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
- ⇄⧉public enableUserTime(): $this$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['TIMESTAMP_X']->enableUserTime()
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
- ⇄⧉public format($format): string Formats date value to string.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['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:110
- ⇄⧉public __clone(): void Produces the copy of the object.clone $arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['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:120
- ⇄⧉public add($interval): $this Performs dates arithmetic.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['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:145
- ⇄⧉public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['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:166
- ⇄⧉public getTimestamp(): int Returns Unix timestamp from date.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['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:215
- ⇄⧉public getDiff(Bitrix\Main\Type\Date $time): \DateInterval Returns difference between dates.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['TIMESTAMP_X']->getDiff(Bitrix\Main\Type\Date $time)
/** * Returns difference between dates. * * @param Date $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:226
- ⇄⧉public __toString(): string Converts a date to the string with default culture format setting.(string) $arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['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:249
- ⧉protected parse($format, $time): array|bool
/** * @param string $format * @param string $time * @return array|bool */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:53
- ⇄⧉public static secondsToOffset($seconds, $delimiter = '')\Bitrix\Main\Type\DateTime::secondsToOffset($seconds, $delimiter = '')
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
- ⇄⧉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:180
- ⇄⧉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:232
- ⇄⧉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:246
- ⇄⧉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:260
- ⇄⧉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 | null $culture Optional culture. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:261
- ⇄⧉public static convertFormatToPhp($format): string 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 string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:306
- ⇄⧉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:356
- ⇄⧉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:414
- ⧉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 | null $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:216
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)
- ⇄MODULE_ID => string (6) "iblock"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['MODULE_ID']
- ⇄HEIGHT => string (4) "1150"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['HEIGHT']
- ⇄WIDTH => string (3) "767"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['WIDTH']
- ⇄FILE_SIZE => string (7) "1047144"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['FILE_SIZE']
- ⇄CONTENT_TYPE => string (9) "image/png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['CONTENT_TYPE']
- ⇄SUBDIR => string (10) "iblock/c60"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['SUBDIR']
- ⇄FILE_NAME => string (36) "c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['FILE_NAME']
- ⇄ORIGINAL_NAME => string (36) "0obid42b0zyxlz1njx7qovy6qdqtnm2t.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['ORIGINAL_NAME']
- ⇄DESCRIPTION => string (0) ""$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['DESCRIPTION']
- ⇄HANDLER_ID => null$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['HANDLER_ID']
- ⇄EXTERNAL_ID => string (40) "md5path_b6da158a70eb2cacdb3e66f29df8ac9f"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['EXTERNAL_ID']
- ⇄SRC => string (55) "/upload/iblock/c60/c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][3]['SRC']
- ⇄ID => string (5) "31569"
- ⇄⧉4 => array (14)$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]
- ⇄ID => string (5) "31570"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['ID']
- ⇄⧉TIMESTAMP_X => Bitrix\Main\Type\DateTime (2)$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['TIMESTAMP_X']
- Properties (2)
- Available methods (28)
- ⧉protected value -> DateTime (3) 2024-02-20 10:05:47+03:00 MSK
- Properties (3)
- Available methods (20)
- Static class properties (13)
- public date -> string (26) "2024-02-20 10:05:47.000000"
- public timezone_type -> integer 3
- public timezone -> string (13) "Europe/Moscow"
- public __wakeup()
- public format(string $format)
- public modify(string $modifier)
- public add(DateInterval $interval)
- public sub(DateInterval $interval)
- public getTimezone()
- public getOffset()
- public setTimestamp(int $timestamp)
- public getTimestamp()
- public static __set_state(array $array)
- ⇄public static createFromImmutable(DateTimeImmutable $object)\DateTime::createFromImmutable(DateTimeImmutable $object)
- ⇄public static createFromInterface(DateTimeInterface $object): DateTime\DateTime::createFromInterface(DateTimeInterface $object)
- ⇄public static createFromFormat(string $format, string $datetime, DateTimeZone $timezone = null)\DateTime::createFromFormat(string $format, string $datetime, DateTimeZone $timezone = null)
- ⇄public static getLastErrors()\DateTime::getLastErrors()
- ⇄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"
- protected userTimeEnabled -> boolean true
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)new \Bitrix\Main\Type\DateTime($time = null, $format = null, DateTimeZone $timezone = null)
/** * @param string | null $time String representation of datetime. * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture. * @param \DateTimeZone | null $timezone Optional timezone object. * * @throws Main\ObjectException */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
- ⇄⧉public toString(Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['TIMESTAMP_X']->toString(Bitrix\Main\Context\Culture $culture = null)
/** * Converts date to string, using Culture and global timezone settings. * * @param Context\Culture | null $culture Culture contains datetime format. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:86
- ⇄⧉public getTimeZone(): \DateTimeZone Returns timezone object.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['TIMESTAMP_X']->getTimeZone()
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
- ⇄⧉public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['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:118
- ⇄⧉public setDefaultTimeZone(): DateTime Sets default timezone.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['TIMESTAMP_X']->setDefaultTimeZone()
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
- ⇄⧉public setTime($hour, $minute, $second0, $microseconds0): DateTime$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['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:144
- ⇄⧉public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['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:155
- ⇄⧉public isUserTimeEnabled(): bool$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['TIMESTAMP_X']->isUserTimeEnabled()
/** * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
- ⇄⧉public disableUserTime(): $this$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['TIMESTAMP_X']->disableUserTime()
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
- ⇄⧉public enableUserTime(): $this$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['TIMESTAMP_X']->enableUserTime()
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
- ⇄⧉public format($format): string Formats date value to string.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['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:110
- ⇄⧉public __clone(): void Produces the copy of the object.clone $arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['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:120
- ⇄⧉public add($interval): $this Performs dates arithmetic.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['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:145
- ⇄⧉public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['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:166
- ⇄⧉public getTimestamp(): int Returns Unix timestamp from date.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['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:215
- ⇄⧉public getDiff(Bitrix\Main\Type\Date $time): \DateInterval Returns difference between dates.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['TIMESTAMP_X']->getDiff(Bitrix\Main\Type\Date $time)
/** * Returns difference between dates. * * @param Date $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:226
- ⇄⧉public __toString(): string Converts a date to the string with default culture format setting.(string) $arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['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:249
- ⧉protected parse($format, $time): array|bool
/** * @param string $format * @param string $time * @return array|bool */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:53
- ⇄⧉public static secondsToOffset($seconds, $delimiter = '')\Bitrix\Main\Type\DateTime::secondsToOffset($seconds, $delimiter = '')
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
- ⇄⧉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:180
- ⇄⧉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:232
- ⇄⧉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:246
- ⇄⧉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:260
- ⇄⧉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 | null $culture Optional culture. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:261
- ⇄⧉public static convertFormatToPhp($format): string 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 string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:306
- ⇄⧉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:356
- ⇄⧉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:414
- ⧉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 | null $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:216
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)
- ⇄MODULE_ID => string (6) "iblock"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['MODULE_ID']
- ⇄HEIGHT => string (3) "767"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['HEIGHT']
- ⇄WIDTH => string (4) "1151"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['WIDTH']
- ⇄FILE_SIZE => string (7) "1223195"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['FILE_SIZE']
- ⇄CONTENT_TYPE => string (9) "image/png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['CONTENT_TYPE']
- ⇄SUBDIR => string (10) "iblock/b51"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['SUBDIR']
- ⇄FILE_NAME => string (36) "u0cbmlpthz9wketf66v4npv72gs71mar.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['FILE_NAME']
- ⇄ORIGINAL_NAME => string (36) "2hlarrs44v6rskv613vimvauk2nza98j.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['ORIGINAL_NAME']
- ⇄DESCRIPTION => string (0) ""$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['DESCRIPTION']
- ⇄HANDLER_ID => null$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['HANDLER_ID']
- ⇄EXTERNAL_ID => string (40) "md5path_27a795269c7b0294150825f5fb61ae7c"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['EXTERNAL_ID']
- ⇄SRC => string (55) "/upload/iblock/b51/u0cbmlpthz9wketf66v4npv72gs71mar.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][4]['SRC']
- ⇄ID => string (5) "31570"
- ⇄⧉5 => array (14)$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]
- ⇄ID => string (5) "31571"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['ID']
- ⇄⧉TIMESTAMP_X => Bitrix\Main\Type\DateTime (2)$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['TIMESTAMP_X']
- Properties (2)
- Available methods (28)
- ⧉protected value -> DateTime (3) 2024-02-20 10:05:47+03:00 MSK
- Properties (3)
- Available methods (20)
- Static class properties (13)
- public date -> string (26) "2024-02-20 10:05:47.000000"
- public timezone_type -> integer 3
- public timezone -> string (13) "Europe/Moscow"
- public __wakeup()
- public format(string $format)
- public modify(string $modifier)
- public add(DateInterval $interval)
- public sub(DateInterval $interval)
- public getTimezone()
- public getOffset()
- public setTimestamp(int $timestamp)
- public getTimestamp()
- public static __set_state(array $array)
- ⇄public static createFromImmutable(DateTimeImmutable $object)\DateTime::createFromImmutable(DateTimeImmutable $object)
- ⇄public static createFromInterface(DateTimeInterface $object): DateTime\DateTime::createFromInterface(DateTimeInterface $object)
- ⇄public static createFromFormat(string $format, string $datetime, DateTimeZone $timezone = null)\DateTime::createFromFormat(string $format, string $datetime, DateTimeZone $timezone = null)
- ⇄public static getLastErrors()\DateTime::getLastErrors()
- ⇄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"
- protected userTimeEnabled -> boolean true
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)new \Bitrix\Main\Type\DateTime($time = null, $format = null, DateTimeZone $timezone = null)
/** * @param string | null $time String representation of datetime. * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture. * @param \DateTimeZone | null $timezone Optional timezone object. * * @throws Main\ObjectException */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
- ⇄⧉public toString(Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['TIMESTAMP_X']->toString(Bitrix\Main\Context\Culture $culture = null)
/** * Converts date to string, using Culture and global timezone settings. * * @param Context\Culture | null $culture Culture contains datetime format. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:86
- ⇄⧉public getTimeZone(): \DateTimeZone Returns timezone object.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['TIMESTAMP_X']->getTimeZone()
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
- ⇄⧉public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['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:118
- ⇄⧉public setDefaultTimeZone(): DateTime Sets default timezone.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['TIMESTAMP_X']->setDefaultTimeZone()
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
- ⇄⧉public setTime($hour, $minute, $second0, $microseconds0): DateTime$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['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:144
- ⇄⧉public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['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:155
- ⇄⧉public isUserTimeEnabled(): bool$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['TIMESTAMP_X']->isUserTimeEnabled()
/** * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
- ⇄⧉public disableUserTime(): $this$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['TIMESTAMP_X']->disableUserTime()
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
- ⇄⧉public enableUserTime(): $this$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['TIMESTAMP_X']->enableUserTime()
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
- ⇄⧉public format($format): string Formats date value to string.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['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:110
- ⇄⧉public __clone(): void Produces the copy of the object.clone $arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['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:120
- ⇄⧉public add($interval): $this Performs dates arithmetic.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['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:145
- ⇄⧉public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['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:166
- ⇄⧉public getTimestamp(): int Returns Unix timestamp from date.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['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:215
- ⇄⧉public getDiff(Bitrix\Main\Type\Date $time): \DateInterval Returns difference between dates.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['TIMESTAMP_X']->getDiff(Bitrix\Main\Type\Date $time)
/** * Returns difference between dates. * * @param Date $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:226
- ⇄⧉public __toString(): string Converts a date to the string with default culture format setting.(string) $arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['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:249
- ⧉protected parse($format, $time): array|bool
/** * @param string $format * @param string $time * @return array|bool */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:53
- ⇄⧉public static secondsToOffset($seconds, $delimiter = '')\Bitrix\Main\Type\DateTime::secondsToOffset($seconds, $delimiter = '')
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
- ⇄⧉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:180
- ⇄⧉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:232
- ⇄⧉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:246
- ⇄⧉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:260
- ⇄⧉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 | null $culture Optional culture. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:261
- ⇄⧉public static convertFormatToPhp($format): string 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 string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:306
- ⇄⧉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:356
- ⇄⧉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:414
- ⧉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 | null $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:216
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)
- ⇄MODULE_ID => string (6) "iblock"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['MODULE_ID']
- ⇄HEIGHT => string (4) "1150"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['HEIGHT']
- ⇄WIDTH => string (3) "767"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['WIDTH']
- ⇄FILE_SIZE => string (7) "1047144"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['FILE_SIZE']
- ⇄CONTENT_TYPE => string (9) "image/png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['CONTENT_TYPE']
- ⇄SUBDIR => string (10) "iblock/c60"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['SUBDIR']
- ⇄FILE_NAME => string (36) "c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['FILE_NAME']
- ⇄ORIGINAL_NAME => string (36) "704lg95hxr5r3jtsb8s0lufymqfvy2rb.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['ORIGINAL_NAME']
- ⇄DESCRIPTION => string (0) ""$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['DESCRIPTION']
- ⇄HANDLER_ID => null$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['HANDLER_ID']
- ⇄EXTERNAL_ID => string (40) "md5path_176a1aee148d8d36f4664fc86209d6af"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['EXTERNAL_ID']
- ⇄SRC => string (55) "/upload/iblock/c60/c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][5]['SRC']
- ⇄ID => string (5) "31571"
- ⇄⧉6 => array (14)$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]
- ⇄ID => string (5) "31572"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['ID']
- ⇄⧉TIMESTAMP_X => Bitrix\Main\Type\DateTime (2)$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['TIMESTAMP_X']
- Properties (2)
- Available methods (28)
- ⧉protected value -> DateTime (3) 2024-02-20 10:05:47+03:00 MSK
- Properties (3)
- Available methods (20)
- Static class properties (13)
- public date -> string (26) "2024-02-20 10:05:47.000000"
- public timezone_type -> integer 3
- public timezone -> string (13) "Europe/Moscow"
- public __wakeup()
- public format(string $format)
- public modify(string $modifier)
- public add(DateInterval $interval)
- public sub(DateInterval $interval)
- public getTimezone()
- public getOffset()
- public setTimestamp(int $timestamp)
- public getTimestamp()
- public static __set_state(array $array)
- ⇄public static createFromImmutable(DateTimeImmutable $object)\DateTime::createFromImmutable(DateTimeImmutable $object)
- ⇄public static createFromInterface(DateTimeInterface $object): DateTime\DateTime::createFromInterface(DateTimeInterface $object)
- ⇄public static createFromFormat(string $format, string $datetime, DateTimeZone $timezone = null)\DateTime::createFromFormat(string $format, string $datetime, DateTimeZone $timezone = null)
- ⇄public static getLastErrors()\DateTime::getLastErrors()
- ⇄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"
- protected userTimeEnabled -> boolean true
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)new \Bitrix\Main\Type\DateTime($time = null, $format = null, DateTimeZone $timezone = null)
/** * @param string | null $time String representation of datetime. * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture. * @param \DateTimeZone | null $timezone Optional timezone object. * * @throws Main\ObjectException */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
- ⇄⧉public toString(Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['TIMESTAMP_X']->toString(Bitrix\Main\Context\Culture $culture = null)
/** * Converts date to string, using Culture and global timezone settings. * * @param Context\Culture | null $culture Culture contains datetime format. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:86
- ⇄⧉public getTimeZone(): \DateTimeZone Returns timezone object.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['TIMESTAMP_X']->getTimeZone()
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
- ⇄⧉public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['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:118
- ⇄⧉public setDefaultTimeZone(): DateTime Sets default timezone.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['TIMESTAMP_X']->setDefaultTimeZone()
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
- ⇄⧉public setTime($hour, $minute, $second0, $microseconds0): DateTime$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['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:144
- ⇄⧉public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['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:155
- ⇄⧉public isUserTimeEnabled(): bool$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['TIMESTAMP_X']->isUserTimeEnabled()
/** * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
- ⇄⧉public disableUserTime(): $this$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['TIMESTAMP_X']->disableUserTime()
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
- ⇄⧉public enableUserTime(): $this$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['TIMESTAMP_X']->enableUserTime()
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
- ⇄⧉public format($format): string Formats date value to string.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['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:110
- ⇄⧉public __clone(): void Produces the copy of the object.clone $arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['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:120
- ⇄⧉public add($interval): $this Performs dates arithmetic.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['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:145
- ⇄⧉public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['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:166
- ⇄⧉public getTimestamp(): int Returns Unix timestamp from date.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['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:215
- ⇄⧉public getDiff(Bitrix\Main\Type\Date $time): \DateInterval Returns difference between dates.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['TIMESTAMP_X']->getDiff(Bitrix\Main\Type\Date $time)
/** * Returns difference between dates. * * @param Date $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:226
- ⇄⧉public __toString(): string Converts a date to the string with default culture format setting.(string) $arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['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:249
- ⧉protected parse($format, $time): array|bool
/** * @param string $format * @param string $time * @return array|bool */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:53
- ⇄⧉public static secondsToOffset($seconds, $delimiter = '')\Bitrix\Main\Type\DateTime::secondsToOffset($seconds, $delimiter = '')
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
- ⇄⧉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:180
- ⇄⧉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:232
- ⇄⧉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:246
- ⇄⧉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:260
- ⇄⧉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 | null $culture Optional culture. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:261
- ⇄⧉public static convertFormatToPhp($format): string 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 string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:306
- ⇄⧉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:356
- ⇄⧉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:414
- ⧉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 | null $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:216
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)
- ⇄MODULE_ID => string (6) "iblock"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['MODULE_ID']
- ⇄HEIGHT => string (4) "1150"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['HEIGHT']
- ⇄WIDTH => string (3) "767"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['WIDTH']
- ⇄FILE_SIZE => string (7) "1047144"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['FILE_SIZE']
- ⇄CONTENT_TYPE => string (9) "image/png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['CONTENT_TYPE']
- ⇄SUBDIR => string (10) "iblock/c60"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['SUBDIR']
- ⇄FILE_NAME => string (36) "c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['FILE_NAME']
- ⇄ORIGINAL_NAME => string (36) "mwdt1nlcugl8bc0f5j6cb9g30tuj56on.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['ORIGINAL_NAME']
- ⇄DESCRIPTION => string (0) ""$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['DESCRIPTION']
- ⇄HANDLER_ID => null$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['HANDLER_ID']
- ⇄EXTERNAL_ID => string (40) "md5path_a3ee9eccfda24190e73ba00aef70a68e"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['EXTERNAL_ID']
- ⇄SRC => string (55) "/upload/iblock/c60/c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][6]['SRC']
- ⇄ID => string (5) "31572"
- ⇄⧉7 => array (14)$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]
- ⇄ID => string (5) "31573"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['ID']
- ⇄⧉TIMESTAMP_X => Bitrix\Main\Type\DateTime (2)$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['TIMESTAMP_X']
- Properties (2)
- Available methods (28)
- ⧉protected value -> DateTime (3) 2024-02-20 10:05:47+03:00 MSK
- Properties (3)
- Available methods (20)
- Static class properties (13)
- public date -> string (26) "2024-02-20 10:05:47.000000"
- public timezone_type -> integer 3
- public timezone -> string (13) "Europe/Moscow"
- public __wakeup()
- public format(string $format)
- public modify(string $modifier)
- public add(DateInterval $interval)
- public sub(DateInterval $interval)
- public getTimezone()
- public getOffset()
- public setTimestamp(int $timestamp)
- public getTimestamp()
- public static __set_state(array $array)
- ⇄public static createFromImmutable(DateTimeImmutable $object)\DateTime::createFromImmutable(DateTimeImmutable $object)
- ⇄public static createFromInterface(DateTimeInterface $object): DateTime\DateTime::createFromInterface(DateTimeInterface $object)
- ⇄public static createFromFormat(string $format, string $datetime, DateTimeZone $timezone = null)\DateTime::createFromFormat(string $format, string $datetime, DateTimeZone $timezone = null)
- ⇄public static getLastErrors()\DateTime::getLastErrors()
- ⇄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"
- protected userTimeEnabled -> boolean true
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)new \Bitrix\Main\Type\DateTime($time = null, $format = null, DateTimeZone $timezone = null)
/** * @param string | null $time String representation of datetime. * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture. * @param \DateTimeZone | null $timezone Optional timezone object. * * @throws Main\ObjectException */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
- ⇄⧉public toString(Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['TIMESTAMP_X']->toString(Bitrix\Main\Context\Culture $culture = null)
/** * Converts date to string, using Culture and global timezone settings. * * @param Context\Culture | null $culture Culture contains datetime format. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:86
- ⇄⧉public getTimeZone(): \DateTimeZone Returns timezone object.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['TIMESTAMP_X']->getTimeZone()
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
- ⇄⧉public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['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:118
- ⇄⧉public setDefaultTimeZone(): DateTime Sets default timezone.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['TIMESTAMP_X']->setDefaultTimeZone()
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
- ⇄⧉public setTime($hour, $minute, $second0, $microseconds0): DateTime$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['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:144
- ⇄⧉public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['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:155
- ⇄⧉public isUserTimeEnabled(): bool$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['TIMESTAMP_X']->isUserTimeEnabled()
/** * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
- ⇄⧉public disableUserTime(): $this$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['TIMESTAMP_X']->disableUserTime()
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
- ⇄⧉public enableUserTime(): $this$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['TIMESTAMP_X']->enableUserTime()
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
- ⇄⧉public format($format): string Formats date value to string.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['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:110
- ⇄⧉public __clone(): void Produces the copy of the object.clone $arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['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:120
- ⇄⧉public add($interval): $this Performs dates arithmetic.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['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:145
- ⇄⧉public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['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:166
- ⇄⧉public getTimestamp(): int Returns Unix timestamp from date.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['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:215
- ⇄⧉public getDiff(Bitrix\Main\Type\Date $time): \DateInterval Returns difference between dates.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['TIMESTAMP_X']->getDiff(Bitrix\Main\Type\Date $time)
/** * Returns difference between dates. * * @param Date $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:226
- ⇄⧉public __toString(): string Converts a date to the string with default culture format setting.(string) $arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['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:249
- ⧉protected parse($format, $time): array|bool
/** * @param string $format * @param string $time * @return array|bool */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:53
- ⇄⧉public static secondsToOffset($seconds, $delimiter = '')\Bitrix\Main\Type\DateTime::secondsToOffset($seconds, $delimiter = '')
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
- ⇄⧉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:180
- ⇄⧉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:232
- ⇄⧉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:246
- ⇄⧉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:260
- ⇄⧉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 | null $culture Optional culture. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:261
- ⇄⧉public static convertFormatToPhp($format): string 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 string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:306
- ⇄⧉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:356
- ⇄⧉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:414
- ⧉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 | null $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:216
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)
- ⇄MODULE_ID => string (6) "iblock"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['MODULE_ID']
- ⇄HEIGHT => string (3) "767"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['HEIGHT']
- ⇄WIDTH => string (4) "1151"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['WIDTH']
- ⇄FILE_SIZE => string (7) "1223195"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['FILE_SIZE']
- ⇄CONTENT_TYPE => string (9) "image/png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['CONTENT_TYPE']
- ⇄SUBDIR => string (10) "iblock/b51"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['SUBDIR']
- ⇄FILE_NAME => string (36) "u0cbmlpthz9wketf66v4npv72gs71mar.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['FILE_NAME']
- ⇄ORIGINAL_NAME => string (36) "w3jy8tkyotx84zy45uzq00fjss9u8j7t.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['ORIGINAL_NAME']
- ⇄DESCRIPTION => string (0) ""$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['DESCRIPTION']
- ⇄HANDLER_ID => null$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['HANDLER_ID']
- ⇄EXTERNAL_ID => string (40) "md5path_644b280a4b6889c65c6b546a7c34bb7c"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['EXTERNAL_ID']
- ⇄SRC => string (55) "/upload/iblock/b51/u0cbmlpthz9wketf66v4npv72gs71mar.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][7]['SRC']
- ⇄ID => string (5) "31573"
- ⇄⧉8 => array (14)$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]
- ⇄ID => string (5) "31574"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['ID']
- ⇄⧉TIMESTAMP_X => Bitrix\Main\Type\DateTime (2)$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['TIMESTAMP_X']
- Properties (2)
- Available methods (28)
- ⧉protected value -> DateTime (3) 2024-02-20 10:05:47+03:00 MSK
- Properties (3)
- Available methods (20)
- Static class properties (13)
- public date -> string (26) "2024-02-20 10:05:47.000000"
- public timezone_type -> integer 3
- public timezone -> string (13) "Europe/Moscow"
- public __wakeup()
- public format(string $format)
- public modify(string $modifier)
- public add(DateInterval $interval)
- public sub(DateInterval $interval)
- public getTimezone()
- public getOffset()
- public setTimestamp(int $timestamp)
- public getTimestamp()
- public static __set_state(array $array)
- ⇄public static createFromImmutable(DateTimeImmutable $object)\DateTime::createFromImmutable(DateTimeImmutable $object)
- ⇄public static createFromInterface(DateTimeInterface $object): DateTime\DateTime::createFromInterface(DateTimeInterface $object)
- ⇄public static createFromFormat(string $format, string $datetime, DateTimeZone $timezone = null)\DateTime::createFromFormat(string $format, string $datetime, DateTimeZone $timezone = null)
- ⇄public static getLastErrors()\DateTime::getLastErrors()
- ⇄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"
- protected userTimeEnabled -> boolean true
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)new \Bitrix\Main\Type\DateTime($time = null, $format = null, DateTimeZone $timezone = null)
/** * @param string | null $time String representation of datetime. * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture. * @param \DateTimeZone | null $timezone Optional timezone object. * * @throws Main\ObjectException */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
- ⇄⧉public toString(Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['TIMESTAMP_X']->toString(Bitrix\Main\Context\Culture $culture = null)
/** * Converts date to string, using Culture and global timezone settings. * * @param Context\Culture | null $culture Culture contains datetime format. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:86
- ⇄⧉public getTimeZone(): \DateTimeZone Returns timezone object.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['TIMESTAMP_X']->getTimeZone()
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
- ⇄⧉public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['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:118
- ⇄⧉public setDefaultTimeZone(): DateTime Sets default timezone.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['TIMESTAMP_X']->setDefaultTimeZone()
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
- ⇄⧉public setTime($hour, $minute, $second0, $microseconds0): DateTime$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['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:144
- ⇄⧉public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['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:155
- ⇄⧉public isUserTimeEnabled(): bool$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['TIMESTAMP_X']->isUserTimeEnabled()
/** * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
- ⇄⧉public disableUserTime(): $this$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['TIMESTAMP_X']->disableUserTime()
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
- ⇄⧉public enableUserTime(): $this$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['TIMESTAMP_X']->enableUserTime()
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
- ⇄⧉public format($format): string Formats date value to string.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['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:110
- ⇄⧉public __clone(): void Produces the copy of the object.clone $arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['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:120
- ⇄⧉public add($interval): $this Performs dates arithmetic.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['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:145
- ⇄⧉public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['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:166
- ⇄⧉public getTimestamp(): int Returns Unix timestamp from date.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['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:215
- ⇄⧉public getDiff(Bitrix\Main\Type\Date $time): \DateInterval Returns difference between dates.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['TIMESTAMP_X']->getDiff(Bitrix\Main\Type\Date $time)
/** * Returns difference between dates. * * @param Date $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:226
- ⇄⧉public __toString(): string Converts a date to the string with default culture format setting.(string) $arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['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:249
- ⧉protected parse($format, $time): array|bool
/** * @param string $format * @param string $time * @return array|bool */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:53
- ⇄⧉public static secondsToOffset($seconds, $delimiter = '')\Bitrix\Main\Type\DateTime::secondsToOffset($seconds, $delimiter = '')
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
- ⇄⧉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:180
- ⇄⧉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:232
- ⇄⧉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:246
- ⇄⧉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:260
- ⇄⧉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 | null $culture Optional culture. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:261
- ⇄⧉public static convertFormatToPhp($format): string 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 string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:306
- ⇄⧉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:356
- ⇄⧉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:414
- ⧉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 | null $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:216
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)
- ⇄MODULE_ID => string (6) "iblock"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['MODULE_ID']
- ⇄HEIGHT => string (4) "1150"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['HEIGHT']
- ⇄WIDTH => string (3) "767"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['WIDTH']
- ⇄FILE_SIZE => string (7) "1047144"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['FILE_SIZE']
- ⇄CONTENT_TYPE => string (9) "image/png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['CONTENT_TYPE']
- ⇄SUBDIR => string (10) "iblock/c60"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['SUBDIR']
- ⇄FILE_NAME => string (36) "c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['FILE_NAME']
- ⇄ORIGINAL_NAME => string (36) "5u1gb3bio5nnu9l5z2plnlx2m1rmoxv3.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['ORIGINAL_NAME']
- ⇄DESCRIPTION => string (0) ""$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['DESCRIPTION']
- ⇄HANDLER_ID => null$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['HANDLER_ID']
- ⇄EXTERNAL_ID => string (40) "md5path_b95c8162d2b40ddfa9ef3fa9c1dde39a"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['EXTERNAL_ID']
- ⇄SRC => string (55) "/upload/iblock/c60/c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][8]['SRC']
- ⇄ID => string (5) "31574"
- ⇄⧉9 => array (14)$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]
- ⇄ID => string (5) "31575"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['ID']
- ⇄⧉TIMESTAMP_X => Bitrix\Main\Type\DateTime (2)$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['TIMESTAMP_X']
- Properties (2)
- Available methods (28)
- ⧉protected value -> DateTime (3) 2024-02-20 10:05:47+03:00 MSK
- Properties (3)
- Available methods (20)
- Static class properties (13)
- public date -> string (26) "2024-02-20 10:05:47.000000"
- public timezone_type -> integer 3
- public timezone -> string (13) "Europe/Moscow"
- public __wakeup()
- public format(string $format)
- public modify(string $modifier)
- public add(DateInterval $interval)
- public sub(DateInterval $interval)
- public getTimezone()
- public getOffset()
- public setTimestamp(int $timestamp)
- public getTimestamp()
- public static __set_state(array $array)
- ⇄public static createFromImmutable(DateTimeImmutable $object)\DateTime::createFromImmutable(DateTimeImmutable $object)
- ⇄public static createFromInterface(DateTimeInterface $object): DateTime\DateTime::createFromInterface(DateTimeInterface $object)
- ⇄public static createFromFormat(string $format, string $datetime, DateTimeZone $timezone = null)\DateTime::createFromFormat(string $format, string $datetime, DateTimeZone $timezone = null)
- ⇄public static getLastErrors()\DateTime::getLastErrors()
- ⇄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"
- protected userTimeEnabled -> boolean true
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)new \Bitrix\Main\Type\DateTime($time = null, $format = null, DateTimeZone $timezone = null)
/** * @param string | null $time String representation of datetime. * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture. * @param \DateTimeZone | null $timezone Optional timezone object. * * @throws Main\ObjectException */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
- ⇄⧉public toString(Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['TIMESTAMP_X']->toString(Bitrix\Main\Context\Culture $culture = null)
/** * Converts date to string, using Culture and global timezone settings. * * @param Context\Culture | null $culture Culture contains datetime format. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:86
- ⇄⧉public getTimeZone(): \DateTimeZone Returns timezone object.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['TIMESTAMP_X']->getTimeZone()
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
- ⇄⧉public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['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:118
- ⇄⧉public setDefaultTimeZone(): DateTime Sets default timezone.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['TIMESTAMP_X']->setDefaultTimeZone()
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
- ⇄⧉public setTime($hour, $minute, $second0, $microseconds0): DateTime$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['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:144
- ⇄⧉public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['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:155
- ⇄⧉public isUserTimeEnabled(): bool$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['TIMESTAMP_X']->isUserTimeEnabled()
/** * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
- ⇄⧉public disableUserTime(): $this$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['TIMESTAMP_X']->disableUserTime()
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
- ⇄⧉public enableUserTime(): $this$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['TIMESTAMP_X']->enableUserTime()
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
- ⇄⧉public format($format): string Formats date value to string.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['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:110
- ⇄⧉public __clone(): void Produces the copy of the object.clone $arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['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:120
- ⇄⧉public add($interval): $this Performs dates arithmetic.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['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:145
- ⇄⧉public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['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:166
- ⇄⧉public getTimestamp(): int Returns Unix timestamp from date.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['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:215
- ⇄⧉public getDiff(Bitrix\Main\Type\Date $time): \DateInterval Returns difference between dates.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['TIMESTAMP_X']->getDiff(Bitrix\Main\Type\Date $time)
/** * Returns difference between dates. * * @param Date $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:226
- ⇄⧉public __toString(): string Converts a date to the string with default culture format setting.(string) $arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['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:249
- ⧉protected parse($format, $time): array|bool
/** * @param string $format * @param string $time * @return array|bool */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:53
- ⇄⧉public static secondsToOffset($seconds, $delimiter = '')\Bitrix\Main\Type\DateTime::secondsToOffset($seconds, $delimiter = '')
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
- ⇄⧉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:180
- ⇄⧉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:232
- ⇄⧉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:246
- ⇄⧉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:260
- ⇄⧉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 | null $culture Optional culture. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:261
- ⇄⧉public static convertFormatToPhp($format): string 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 string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:306
- ⇄⧉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:356
- ⇄⧉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:414
- ⧉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 | null $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:216
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)
- ⇄MODULE_ID => string (6) "iblock"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['MODULE_ID']
- ⇄HEIGHT => string (4) "1150"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['HEIGHT']
- ⇄WIDTH => string (3) "767"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['WIDTH']
- ⇄FILE_SIZE => string (7) "1047144"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['FILE_SIZE']
- ⇄CONTENT_TYPE => string (9) "image/png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['CONTENT_TYPE']
- ⇄SUBDIR => string (10) "iblock/c60"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['SUBDIR']
- ⇄FILE_NAME => string (36) "c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['FILE_NAME']
- ⇄ORIGINAL_NAME => string (36) "go3e8fpayvadk6pug4jydy3f1plhom07.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['ORIGINAL_NAME']
- ⇄DESCRIPTION => string (0) ""$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['DESCRIPTION']
- ⇄HANDLER_ID => null$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['HANDLER_ID']
- ⇄EXTERNAL_ID => string (40) "md5path_0dd538f60dbfca32fc6719ebd0ca5aad"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['EXTERNAL_ID']
- ⇄SRC => string (55) "/upload/iblock/c60/c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][9]['SRC']
- ⇄ID => string (5) "31575"
- ⇄⧉10 => array (14)$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]
- ⇄ID => string (5) "31576"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['ID']
- ⇄⧉TIMESTAMP_X => Bitrix\Main\Type\DateTime (2)$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['TIMESTAMP_X']
- Properties (2)
- Available methods (28)
- ⧉protected value -> DateTime (3) 2024-02-20 10:05:47+03:00 MSK
- Properties (3)
- Available methods (20)
- Static class properties (13)
- public date -> string (26) "2024-02-20 10:05:47.000000"
- public timezone_type -> integer 3
- public timezone -> string (13) "Europe/Moscow"
- public __wakeup()
- public format(string $format)
- public modify(string $modifier)
- public add(DateInterval $interval)
- public sub(DateInterval $interval)
- public getTimezone()
- public getOffset()
- public setTimestamp(int $timestamp)
- public getTimestamp()
- public static __set_state(array $array)
- ⇄public static createFromImmutable(DateTimeImmutable $object)\DateTime::createFromImmutable(DateTimeImmutable $object)
- ⇄public static createFromInterface(DateTimeInterface $object): DateTime\DateTime::createFromInterface(DateTimeInterface $object)
- ⇄public static createFromFormat(string $format, string $datetime, DateTimeZone $timezone = null)\DateTime::createFromFormat(string $format, string $datetime, DateTimeZone $timezone = null)
- ⇄public static getLastErrors()\DateTime::getLastErrors()
- ⇄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"
- protected userTimeEnabled -> boolean true
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)new \Bitrix\Main\Type\DateTime($time = null, $format = null, DateTimeZone $timezone = null)
/** * @param string | null $time String representation of datetime. * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture. * @param \DateTimeZone | null $timezone Optional timezone object. * * @throws Main\ObjectException */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
- ⇄⧉public toString(Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['TIMESTAMP_X']->toString(Bitrix\Main\Context\Culture $culture = null)
/** * Converts date to string, using Culture and global timezone settings. * * @param Context\Culture | null $culture Culture contains datetime format. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:86
- ⇄⧉public getTimeZone(): \DateTimeZone Returns timezone object.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['TIMESTAMP_X']->getTimeZone()
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
- ⇄⧉public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['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:118
- ⇄⧉public setDefaultTimeZone(): DateTime Sets default timezone.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['TIMESTAMP_X']->setDefaultTimeZone()
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
- ⇄⧉public setTime($hour, $minute, $second0, $microseconds0): DateTime$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['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:144
- ⇄⧉public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['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:155
- ⇄⧉public isUserTimeEnabled(): bool$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['TIMESTAMP_X']->isUserTimeEnabled()
/** * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
- ⇄⧉public disableUserTime(): $this$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['TIMESTAMP_X']->disableUserTime()
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
- ⇄⧉public enableUserTime(): $this$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['TIMESTAMP_X']->enableUserTime()
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
- ⇄⧉public format($format): string Formats date value to string.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['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:110
- ⇄⧉public __clone(): void Produces the copy of the object.clone $arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['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:120
- ⇄⧉public add($interval): $this Performs dates arithmetic.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['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:145
- ⇄⧉public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['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:166
- ⇄⧉public getTimestamp(): int Returns Unix timestamp from date.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['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:215
- ⇄⧉public getDiff(Bitrix\Main\Type\Date $time): \DateInterval Returns difference between dates.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['TIMESTAMP_X']->getDiff(Bitrix\Main\Type\Date $time)
/** * Returns difference between dates. * * @param Date $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:226
- ⇄⧉public __toString(): string Converts a date to the string with default culture format setting.(string) $arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['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:249
- ⧉protected parse($format, $time): array|bool
/** * @param string $format * @param string $time * @return array|bool */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:53
- ⇄⧉public static secondsToOffset($seconds, $delimiter = '')\Bitrix\Main\Type\DateTime::secondsToOffset($seconds, $delimiter = '')
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
- ⇄⧉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:180
- ⇄⧉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:232
- ⇄⧉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:246
- ⇄⧉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:260
- ⇄⧉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 | null $culture Optional culture. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:261
- ⇄⧉public static convertFormatToPhp($format): string 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 string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:306
- ⇄⧉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:356
- ⇄⧉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:414
- ⧉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 | null $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:216
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)
- ⇄MODULE_ID => string (6) "iblock"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['MODULE_ID']
- ⇄HEIGHT => string (3) "767"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['HEIGHT']
- ⇄WIDTH => string (4) "1151"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['WIDTH']
- ⇄FILE_SIZE => string (7) "1223195"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['FILE_SIZE']
- ⇄CONTENT_TYPE => string (9) "image/png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['CONTENT_TYPE']
- ⇄SUBDIR => string (10) "iblock/b51"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['SUBDIR']
- ⇄FILE_NAME => string (36) "u0cbmlpthz9wketf66v4npv72gs71mar.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['FILE_NAME']
- ⇄ORIGINAL_NAME => string (36) "6o8h98kgzr55lwdfk1wy92gbfc0uun3s.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['ORIGINAL_NAME']
- ⇄DESCRIPTION => string (0) ""$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['DESCRIPTION']
- ⇄HANDLER_ID => null$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['HANDLER_ID']
- ⇄EXTERNAL_ID => string (40) "md5path_d12063ab5b2a5b9aec7e73f3e3753e0c"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['EXTERNAL_ID']
- ⇄SRC => string (55) "/upload/iblock/b51/u0cbmlpthz9wketf66v4npv72gs71mar.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][10]['SRC']
- ⇄ID => string (5) "31576"
- ⇄⧉11 => array (14)$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]
- ⇄ID => string (5) "31577"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['ID']
- ⇄⧉TIMESTAMP_X => Bitrix\Main\Type\DateTime (2)$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['TIMESTAMP_X']
- Properties (2)
- Available methods (28)
- ⧉protected value -> DateTime (3) 2024-02-20 10:05:47+03:00 MSK
- Properties (3)
- Available methods (20)
- Static class properties (13)
- public date -> string (26) "2024-02-20 10:05:47.000000"
- public timezone_type -> integer 3
- public timezone -> string (13) "Europe/Moscow"
- public __wakeup()
- public format(string $format)
- public modify(string $modifier)
- public add(DateInterval $interval)
- public sub(DateInterval $interval)
- public getTimezone()
- public getOffset()
- public setTimestamp(int $timestamp)
- public getTimestamp()
- public static __set_state(array $array)
- ⇄public static createFromImmutable(DateTimeImmutable $object)\DateTime::createFromImmutable(DateTimeImmutable $object)
- ⇄public static createFromInterface(DateTimeInterface $object): DateTime\DateTime::createFromInterface(DateTimeInterface $object)
- ⇄public static createFromFormat(string $format, string $datetime, DateTimeZone $timezone = null)\DateTime::createFromFormat(string $format, string $datetime, DateTimeZone $timezone = null)
- ⇄public static getLastErrors()\DateTime::getLastErrors()
- ⇄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"
- protected userTimeEnabled -> boolean true
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)new \Bitrix\Main\Type\DateTime($time = null, $format = null, DateTimeZone $timezone = null)
/** * @param string | null $time String representation of datetime. * @param string | null $format PHP datetime format. If not specified, the format is got from the current culture. * @param \DateTimeZone | null $timezone Optional timezone object. * * @throws Main\ObjectException */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:20
- ⇄⧉public toString(Bitrix\Main\Context\Culture $culture = null): string Converts date to string, using Culture and global timezone settings.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['TIMESTAMP_X']->toString(Bitrix\Main\Context\Culture $culture = null)
/** * Converts date to string, using Culture and global timezone settings. * * @param Context\Culture | null $culture Culture contains datetime format. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:86
- ⇄⧉public getTimeZone(): \DateTimeZone Returns timezone object.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['TIMESTAMP_X']->getTimeZone()
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
- ⇄⧉public setTimeZone(DateTimeZone $timezone): DateTime Sets timezone object.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['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:118
- ⇄⧉public setDefaultTimeZone(): DateTime Sets default timezone.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['TIMESTAMP_X']->setDefaultTimeZone()
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
- ⇄⧉public setTime($hour, $minute, $second0, $microseconds0): DateTime$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['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:144
- ⇄⧉public toUserTime(): DateTime Changes time from server time to user time using global timezone settings.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['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:155
- ⇄⧉public isUserTimeEnabled(): bool$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['TIMESTAMP_X']->isUserTimeEnabled()
/** * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
- ⇄⧉public disableUserTime(): $this$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['TIMESTAMP_X']->disableUserTime()
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
- ⇄⧉public enableUserTime(): $this$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['TIMESTAMP_X']->enableUserTime()
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
- ⇄⧉public format($format): string Formats date value to string.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['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:110
- ⇄⧉public __clone(): void Produces the copy of the object.clone $arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['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:120
- ⇄⧉public add($interval): $this Performs dates arithmetic.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['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:145
- ⇄⧉public setDate($year, $month, $day): $this Sets the current date of the DateTime object to a different date.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['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:166
- ⇄⧉public getTimestamp(): int Returns Unix timestamp from date.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['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:215
- ⇄⧉public getDiff(Bitrix\Main\Type\Date $time): \DateInterval Returns difference between dates.$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['TIMESTAMP_X']->getDiff(Bitrix\Main\Type\Date $time)
/** * Returns difference between dates. * * @param Date $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:226
- ⇄⧉public __toString(): string Converts a date to the string with default culture format setting.(string) $arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['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:249
- ⧉protected parse($format, $time): array|bool
/** * @param string $format * @param string $time * @return array|bool */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:53
- ⇄⧉public static secondsToOffset($seconds, $delimiter = '')\Bitrix\Main\Type\DateTime::secondsToOffset($seconds, $delimiter = '')
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
- ⇄⧉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:180
- ⇄⧉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:232
- ⇄⧉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:246
- ⇄⧉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:260
- ⇄⧉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 | null $culture Optional culture. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:261
- ⇄⧉public static convertFormatToPhp($format): string 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 string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:306
- ⇄⧉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:356
- ⇄⧉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:414
- ⧉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 | null $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:216
- ⇄⧉public __construct($time = null, $format = null, DateTimeZone $timezone = null)
- ⇄MODULE_ID => string (6) "iblock"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['MODULE_ID']
- ⇄HEIGHT => string (4) "1150"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['HEIGHT']
- ⇄WIDTH => string (3) "767"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['WIDTH']
- ⇄FILE_SIZE => string (7) "1047144"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['FILE_SIZE']
- ⇄CONTENT_TYPE => string (9) "image/png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['CONTENT_TYPE']
- ⇄SUBDIR => string (10) "iblock/c60"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['SUBDIR']
- ⇄FILE_NAME => string (36) "c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['FILE_NAME']
- ⇄ORIGINAL_NAME => string (36) "rudfjt39cck3vpdxxklks52fzq4lql13.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['ORIGINAL_NAME']
- ⇄DESCRIPTION => string (0) ""$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['DESCRIPTION']
- ⇄HANDLER_ID => null$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['HANDLER_ID']
- ⇄EXTERNAL_ID => string (40) "md5path_2fa2cf437ffcef3c2353378fd4e419ab"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['EXTERNAL_ID']
- ⇄SRC => string (55) "/upload/iblock/c60/c01wcg8b9qouhbk3cw6s7kmtnc3ch6si.png"$arItem['PROPERTIES']['MORE_PHOTO']['VALUE'][11]['SRC']
- ⇄ID => string (5) "31577"
- ⇄⧉0 => array (14)
- ⇄⧉PROPERTY_VALUE_ID => array (12)$arItem['PROPERTIES']['MORE_PHOTO']['PROPERTY_VALUE_ID']
- ⇄0 => string (6) "101486"$arItem['PROPERTIES']['MORE_PHOTO']['PROPERTY_VALUE_ID'][0]
- ⇄1 => string (6) "101487"$arItem['PROPERTIES']['MORE_PHOTO']['PROPERTY_VALUE_ID'][1]
- ⇄2 => string (6) "101488"$arItem['PROPERTIES']['MORE_PHOTO']['PROPERTY_VALUE_ID'][2]
- ⇄3 => string (6) "101489"$arItem['PROPERTIES']['MORE_PHOTO']['PROPERTY_VALUE_ID'][3]
- ⇄4 => string (6) "101490"$arItem['PROPERTIES']['MORE_PHOTO']['PROPERTY_VALUE_ID'][4]
- ⇄5 => string (6) "101491"$arItem['PROPERTIES']['MORE_PHOTO']['PROPERTY_VALUE_ID'][5]
- ⇄6 => string (6) "101492"$arItem['PROPERTIES']['MORE_PHOTO']['PROPERTY_VALUE_ID'][6]
- ⇄7 => string (6) "101493"$arItem['PROPERTIES']['MORE_PHOTO']['PROPERTY_VALUE_ID'][7]
- ⇄8 => string (6) "101494"$arItem['PROPERTIES']['MORE_PHOTO']['PROPERTY_VALUE_ID'][8]
- ⇄9 => string (6) "101495"$arItem['PROPERTIES']['MORE_PHOTO']['PROPERTY_VALUE_ID'][9]
- ⇄10 => string (6) "101496"$arItem['PROPERTIES']['MORE_PHOTO']['PROPERTY_VALUE_ID'][10]
- ⇄11 => string (6) "101497"$arItem['PROPERTIES']['MORE_PHOTO']['PROPERTY_VALUE_ID'][11]
- ⇄0 => string (6) "101486"
- ⇄⧉DESCRIPTION => array (12)$arItem['PROPERTIES']['MORE_PHOTO']['DESCRIPTION']
- ⇄0 => null$arItem['PROPERTIES']['MORE_PHOTO']['DESCRIPTION'][0]
- ⇄1 => null$arItem['PROPERTIES']['MORE_PHOTO']['DESCRIPTION'][1]
- ⇄2 => null$arItem['PROPERTIES']['MORE_PHOTO']['DESCRIPTION'][2]
- ⇄3 => null$arItem['PROPERTIES']['MORE_PHOTO']['DESCRIPTION'][3]
- ⇄4 => null$arItem['PROPERTIES']['MORE_PHOTO']['DESCRIPTION'][4]
- ⇄5 => null$arItem['PROPERTIES']['MORE_PHOTO']['DESCRIPTION'][5]
- ⇄6 => null$arItem['PROPERTIES']['MORE_PHOTO']['DESCRIPTION'][6]
- ⇄7 => null$arItem['PROPERTIES']['MORE_PHOTO']['DESCRIPTION'][7]
- ⇄8 => null$arItem['PROPERTIES']['MORE_PHOTO']['DESCRIPTION'][8]
- ⇄9 => null$arItem['PROPERTIES']['MORE_PHOTO']['DESCRIPTION'][9]
- ⇄10 => null$arItem['PROPERTIES']['MORE_PHOTO']['DESCRIPTION'][10]
- ⇄11 => null$arItem['PROPERTIES']['MORE_PHOTO']['DESCRIPTION'][11]
- ⇄0 => null
- ⇄⧉~VALUE => array (12)$arItem['PROPERTIES']['MORE_PHOTO']['~VALUE']
- ⇄0 => string (5) "31566"$arItem['PROPERTIES']['MORE_PHOTO']['~VALUE'][0]
- ⇄1 => string (5) "31567"$arItem['PROPERTIES']['MORE_PHOTO']['~VALUE'][1]
- ⇄2 => string (5) "31568"$arItem['PROPERTIES']['MORE_PHOTO']['~VALUE'][2]
- ⇄3 => string (5) "31569"$arItem['PROPERTIES']['MORE_PHOTO']['~VALUE'][3]
- ⇄4 => string (5) "31570"$arItem['PROPERTIES']['MORE_PHOTO']['~VALUE'][4]
- ⇄5 => string (5) "31571"$arItem['PROPERTIES']['MORE_PHOTO']['~VALUE'][5]
- ⇄6 => string (5) "31572"$arItem['PROPERTIES']['MORE_PHOTO']['~VALUE'][6]
- ⇄7 => string (5) "31573"$arItem['PROPERTIES']['MORE_PHOTO']['~VALUE'][7]
- ⇄8 => string (5) "31574"$arItem['PROPERTIES']['MORE_PHOTO']['~VALUE'][8]
- ⇄9 => string (5) "31575"$arItem['PROPERTIES']['MORE_PHOTO']['~VALUE'][9]
- ⇄10 => string (5) "31576"$arItem['PROPERTIES']['MORE_PHOTO']['~VALUE'][10]
- ⇄11 => string (5) "31577"$arItem['PROPERTIES']['MORE_PHOTO']['~VALUE'][11]
- ⇄0 => string (5) "31566"
- ⇄⧉~DESCRIPTION => array (12)$arItem['PROPERTIES']['MORE_PHOTO']['~DESCRIPTION']
- ⇄0 => null$arItem['PROPERTIES']['MORE_PHOTO']['~DESCRIPTION'][0]
- ⇄1 => null$arItem['PROPERTIES']['MORE_PHOTO']['~DESCRIPTION'][1]
- ⇄2 => null$arItem['PROPERTIES']['MORE_PHOTO']['~DESCRIPTION'][2]
- ⇄3 => null$arItem['PROPERTIES']['MORE_PHOTO']['~DESCRIPTION'][3]
- ⇄4 => null$arItem['PROPERTIES']['MORE_PHOTO']['~DESCRIPTION'][4]
- ⇄5 => null$arItem['PROPERTIES']['MORE_PHOTO']['~DESCRIPTION'][5]
- ⇄6 => null$arItem['PROPERTIES']['MORE_PHOTO']['~DESCRIPTION'][6]
- ⇄7 => null$arItem['PROPERTIES']['MORE_PHOTO']['~DESCRIPTION'][7]
- ⇄8 => null$arItem['PROPERTIES']['MORE_PHOTO']['~DESCRIPTION'][8]
- ⇄9 => null$arItem['PROPERTIES']['MORE_PHOTO']['~DESCRIPTION'][9]
- ⇄10 => null$arItem['PROPERTIES']['MORE_PHOTO']['~DESCRIPTION'][10]
- ⇄11 => null$arItem['PROPERTIES']['MORE_PHOTO']['~DESCRIPTION'][11]
- ⇄0 => null
- ⇄ID => string (3) "386"
- isset(...) boolean true
Для увеличения картинки нажмите на изображение
Арт.:
9814
Цена
2 350 руб.экономия
Производитель:
ДЖИЛЕКС
Максимальное давление воды, бар:
5
ШтрихКод:
4650069793502
Базовая единица:
шт
Производитель:
ДЖИЛЕКС
Температура:
от +1 до +40
Гидравлические подключения:
1205514032
Класс электробезопасности:
1205514033
Производительность горячей воды (л/час):
1205514034
Глубина (мм):
1205514035
Присоединительный размер, дюйм :
1
Гарантия :
1 лет
Описание
«УЖ» комплект для всасывания предназначен для всасывания воды из различных водоемов с помощью поверхностных насосов и насосов-автоматов. Комплект состоит из прочного шланга с армирующей спиралью, крепежными элементами, водозаборного фильтра и обратного клапана.
Характеристики
Артикул:9814Производитель:ДЖИЛЕКСМаксимальное давление воды, бар:5ШтрихКод:4650069793502Базовая единица:штПроизводитель:ДЖИЛЕКСТемпература:от +1 до +40Гидравлические подключения:1205514032Класс электробезопасности:1205514033Производительность горячей воды (л/час):1205514034Глубина (мм):1205514035Присоединительный размер, дюйм :1Гарантия :1 лет
Тут еще никто ничего не писал, стань первым!
Похожие товары