Церебро life
@cerebrotg
15 36 4.6K
2013-04-06T11:36:34+00:00
Канал от ЦереброТаргет - про маркетинг в соц сетях. То, о чем в ВК не пишем. Контакт для связи @fzinatullin Канал зарегистрирован в реестре: https://knd.gov.ru/license?id=6745beaf8945180a7d295e62®istryType=bloggersPermission #AKG2N
/** * @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
/** * 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
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
/** * Sets timezone object. * * @param \DateTimeZone $timezone Timezone object. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:118
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
/** * @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
/** * 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
/** * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
/** * @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
/** * 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
/** * 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
/** * 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
/** * Sets the current date of the DateTime object to a different date. * @param int $year * @param int $month * @param int $day * * @return $this */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:169
/** * Returns Unix timestamp from date. * * @return int */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:218
/** * Returns difference between dates. * * @param Date $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:229
/** * Converts a date to the string with default culture format setting. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:252
Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:176
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
/** * 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
/** * 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
/** * 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
/** * Creates DateTime object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:246
/** * 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
/** * Returns a date format from the culture in the php format. * * @param Context\Culture | null $culture Optional culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:264
/** * Converts date format from culture to php format. * * @param string $format Format string. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:309
/** * Checks the string for correct date (by trying to create Date object). * * @param string $time String representation of date. * @param string $format PHP date format. If not specified, the format is got from the current culture. * * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:359
/** * Creates Date object from Text (return array of result object) * Examples: "end of next week", "tomorrow morning", "friday 25.10" * * @param string $text * @return DateTime|null */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:417
/** * Returns short date culture format. * * @param Context\Culture | null $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:293
/** * Creates Date object from PHP \DateTime object. * * @param \DateTime $datetime Source object. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:387
/** * Creates Date object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:402
/** * @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
/** * 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
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
/** * Sets timezone object. * * @param \DateTimeZone $timezone Timezone object. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:118
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
/** * @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
/** * 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
/** * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
/** * @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
/** * 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
/** * 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
/** * 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
/** * Sets the current date of the DateTime object to a different date. * @param int $year * @param int $month * @param int $day * * @return $this */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:169
/** * Returns Unix timestamp from date. * * @return int */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:218
/** * Returns difference between dates. * * @param Date $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:229
/** * Converts a date to the string with default culture format setting. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:252
Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:176
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
/** * 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
/** * 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
/** * 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
/** * Creates DateTime object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:246
/** * 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
/** * Returns a date format from the culture in the php format. * * @param Context\Culture | null $culture Optional culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:264
/** * Converts date format from culture to php format. * * @param string $format Format string. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:309
/** * Checks the string for correct date (by trying to create Date object). * * @param string $time String representation of date. * @param string $format PHP date format. If not specified, the format is got from the current culture. * * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:359
/** * Creates Date object from Text (return array of result object) * Examples: "end of next week", "tomorrow morning", "friday 25.10" * * @param string $text * @return DateTime|null */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:417
/** * Returns short date culture format. * * @param Context\Culture | null $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:293
/** * Creates Date object from PHP \DateTime object. * * @param \DateTime $datetime Source object. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:387
/** * Creates Date object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:402
2013-04-06T11:36:34+00:00
2011-07-05T09:28:30+00:00
/** * @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
/** * 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
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
/** * Sets timezone object. * * @param \DateTimeZone $timezone Timezone object. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:118
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
/** * @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
/** * 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
/** * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
/** * @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
/** * 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
/** * 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
/** * 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
/** * Sets the current date of the DateTime object to a different date. * @param int $year * @param int $month * @param int $day * * @return $this */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:169
/** * Returns Unix timestamp from date. * * @return int */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:218
/** * Returns difference between dates. * * @param Date $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:229
/** * Converts a date to the string with default culture format setting. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:252
Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:176
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
/** * 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
/** * 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
/** * 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
/** * Creates DateTime object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:246
/** * 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
/** * Returns a date format from the culture in the php format. * * @param Context\Culture | null $culture Optional culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:264
/** * Converts date format from culture to php format. * * @param string $format Format string. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:309
/** * Checks the string for correct date (by trying to create Date object). * * @param string $time String representation of date. * @param string $format PHP date format. If not specified, the format is got from the current culture. * * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:359
/** * Creates Date object from Text (return array of result object) * Examples: "end of next week", "tomorrow morning", "friday 25.10" * * @param string $text * @return DateTime|null */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:417
/** * Returns short date culture format. * * @param Context\Culture | null $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:293
/** * Creates Date object from PHP \DateTime object. * * @param \DateTime $datetime Source object. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:387
/** * Creates Date object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:402
/** * @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
/** * 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
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
/** * Sets timezone object. * * @param \DateTimeZone $timezone Timezone object. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:118
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
/** * @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
/** * 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
/** * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
/** * @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
/** * 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
/** * 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
/** * 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
/** * Sets the current date of the DateTime object to a different date. * @param int $year * @param int $month * @param int $day * * @return $this */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:169
/** * Returns Unix timestamp from date. * * @return int */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:218
/** * Returns difference between dates. * * @param Date $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:229
/** * Converts a date to the string with default culture format setting. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:252
Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:176
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
/** * 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
/** * 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
/** * 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
/** * Creates DateTime object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:246
/** * 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
/** * Returns a date format from the culture in the php format. * * @param Context\Culture | null $culture Optional culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:264
/** * Converts date format from culture to php format. * * @param string $format Format string. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:309
/** * Checks the string for correct date (by trying to create Date object). * * @param string $time String representation of date. * @param string $format PHP date format. If not specified, the format is got from the current culture. * * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:359
/** * Creates Date object from Text (return array of result object) * Examples: "end of next week", "tomorrow morning", "friday 25.10" * * @param string $text * @return DateTime|null */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:417
/** * Returns short date culture format. * * @param Context\Culture | null $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:293
/** * Creates Date object from PHP \DateTime object. * * @param \DateTime $datetime Source object. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:387
/** * Creates Date object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:402
2013-04-06T11:36:34+00:00
/** * @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
/** * 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
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
/** * Sets timezone object. * * @param \DateTimeZone $timezone Timezone object. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:118
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
/** * @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
/** * 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
/** * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
/** * @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
/** * 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
/** * 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
/** * 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
/** * Sets the current date of the DateTime object to a different date. * @param int $year * @param int $month * @param int $day * * @return $this */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:169
/** * Returns Unix timestamp from date. * * @return int */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:218
/** * Returns difference between dates. * * @param Date $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:229
/** * Converts a date to the string with default culture format setting. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:252
Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:176
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
/** * 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
/** * 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
/** * 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
/** * Creates DateTime object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:246
/** * 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
/** * Returns a date format from the culture in the php format. * * @param Context\Culture | null $culture Optional culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:264
/** * Converts date format from culture to php format. * * @param string $format Format string. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:309
/** * Checks the string for correct date (by trying to create Date object). * * @param string $time String representation of date. * @param string $format PHP date format. If not specified, the format is got from the current culture. * * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:359
/** * Creates Date object from Text (return array of result object) * Examples: "end of next week", "tomorrow morning", "friday 25.10" * * @param string $text * @return DateTime|null */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:417
/** * Returns short date culture format. * * @param Context\Culture | null $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:293
/** * Creates Date object from PHP \DateTime object. * * @param \DateTime $datetime Source object. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:387
/** * Creates Date object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:402
2013-04-06T11:36:34+00:00
/** * @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
/** * 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
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
/** * Sets timezone object. * * @param \DateTimeZone $timezone Timezone object. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:118
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
/** * @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
/** * 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
/** * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
/** * @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
/** * 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
/** * 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
/** * 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
/** * Sets the current date of the DateTime object to a different date. * @param int $year * @param int $month * @param int $day * * @return $this */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:169
/** * Returns Unix timestamp from date. * * @return int */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:218
/** * Returns difference between dates. * * @param Date $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:229
/** * Converts a date to the string with default culture format setting. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:252
Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:176
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
/** * 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
/** * 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
/** * 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
/** * Creates DateTime object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:246
/** * 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
/** * Returns a date format from the culture in the php format. * * @param Context\Culture | null $culture Optional culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:264
/** * Converts date format from culture to php format. * * @param string $format Format string. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:309
/** * Checks the string for correct date (by trying to create Date object). * * @param string $time String representation of date. * @param string $format PHP date format. If not specified, the format is got from the current culture. * * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:359
/** * Creates Date object from Text (return array of result object) * Examples: "end of next week", "tomorrow morning", "friday 25.10" * * @param string $text * @return DateTime|null */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:417
/** * Returns short date culture format. * * @param Context\Culture | null $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:293
/** * Creates Date object from PHP \DateTime object. * * @param \DateTime $datetime Source object. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:387
/** * Creates Date object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:402
2013-04-06T11:36:34+00:00
/** * @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
/** * 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
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
/** * Sets timezone object. * * @param \DateTimeZone $timezone Timezone object. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:118
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
/** * @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
/** * 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
/** * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
/** * @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
/** * 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
/** * 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
/** * 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
/** * Sets the current date of the DateTime object to a different date. * @param int $year * @param int $month * @param int $day * * @return $this */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:169
/** * Returns Unix timestamp from date. * * @return int */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:218
/** * Returns difference between dates. * * @param Date $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:229
/** * Converts a date to the string with default culture format setting. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:252
Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:176
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
/** * 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
/** * 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
/** * 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
/** * Creates DateTime object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:246
/** * 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
/** * Returns a date format from the culture in the php format. * * @param Context\Culture | null $culture Optional culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:264
/** * Converts date format from culture to php format. * * @param string $format Format string. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:309
/** * Checks the string for correct date (by trying to create Date object). * * @param string $time String representation of date. * @param string $format PHP date format. If not specified, the format is got from the current culture. * * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:359
/** * Creates Date object from Text (return array of result object) * Examples: "end of next week", "tomorrow morning", "friday 25.10" * * @param string $text * @return DateTime|null */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:417
/** * Returns short date culture format. * * @param Context\Culture | null $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:293
/** * Creates Date object from PHP \DateTime object. * * @param \DateTime $datetime Source object. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:387
/** * Creates Date object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:402
/** * @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
/** * 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
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
/** * Sets timezone object. * * @param \DateTimeZone $timezone Timezone object. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:118
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
/** * @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
/** * 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
/** * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
/** * @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
/** * 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
/** * 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
/** * 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
/** * Sets the current date of the DateTime object to a different date. * @param int $year * @param int $month * @param int $day * * @return $this */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:169
/** * Returns Unix timestamp from date. * * @return int */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:218
/** * Returns difference between dates. * * @param Date $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:229
/** * Converts a date to the string with default culture format setting. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:252
Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:176
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
/** * 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
/** * 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
/** * 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
/** * Creates DateTime object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:246
/** * 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
/** * Returns a date format from the culture in the php format. * * @param Context\Culture | null $culture Optional culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:264
/** * Converts date format from culture to php format. * * @param string $format Format string. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:309
/** * Checks the string for correct date (by trying to create Date object). * * @param string $time String representation of date. * @param string $format PHP date format. If not specified, the format is got from the current culture. * * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:359
/** * Creates Date object from Text (return array of result object) * Examples: "end of next week", "tomorrow morning", "friday 25.10" * * @param string $text * @return DateTime|null */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:417
/** * Returns short date culture format. * * @param Context\Culture | null $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:293
/** * Creates Date object from PHP \DateTime object. * * @param \DateTime $datetime Source object. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:387
/** * Creates Date object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:402
2013-04-06T11:36:34+00:00
| hex | html | count | emoji | reaction | |
|---|---|---|---|---|---|
| 0 | E29DA4 | <i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/EUTF-8 | 28 | null | ? |
| 1 | F09F94A5 | <i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/FUTF-8 | 12 | null | ? |
| 2 | F09F98A2 | <i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/FUTF-8 | 6 | null | ? |
<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/E29DA4.png')"><b>?</b></i>
<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/F09F94A5.png')"><b>?</b></i>
<i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/F09F98A2.png')"><b>?</b></i>
/** * @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
/** * 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
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
/** * Sets timezone object. * * @param \DateTimeZone $timezone Timezone object. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:118
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
/** * @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
/** * 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
/** * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
/** * @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
/** * 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
/** * 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
/** * 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
/** * Sets the current date of the DateTime object to a different date. * @param int $year * @param int $month * @param int $day * * @return $this */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:169
/** * Returns Unix timestamp from date. * * @return int */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:218
/** * Returns difference between dates. * * @param Date $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:229
/** * Converts a date to the string with default culture format setting. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:252
Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:176
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
/** * 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
/** * 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
/** * 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
/** * Creates DateTime object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:246
/** * 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
/** * Returns a date format from the culture in the php format. * * @param Context\Culture | null $culture Optional culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:264
/** * Converts date format from culture to php format. * * @param string $format Format string. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:309
/** * Checks the string for correct date (by trying to create Date object). * * @param string $time String representation of date. * @param string $format PHP date format. If not specified, the format is got from the current culture. * * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:359
/** * Creates Date object from Text (return array of result object) * Examples: "end of next week", "tomorrow morning", "friday 25.10" * * @param string $text * @return DateTime|null */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:417
/** * Returns short date culture format. * * @param Context\Culture | null $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:293
/** * Creates Date object from PHP \DateTime object. * * @param \DateTime $datetime Source object. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:387
/** * Creates Date object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:402
/** * @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
/** * 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
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
/** * Sets timezone object. * * @param \DateTimeZone $timezone Timezone object. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:118
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
/** * @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
/** * 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
/** * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
/** * @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
/** * 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
/** * 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
/** * 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
/** * Sets the current date of the DateTime object to a different date. * @param int $year * @param int $month * @param int $day * * @return $this */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:169
/** * Returns Unix timestamp from date. * * @return int */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:218
/** * Returns difference between dates. * * @param Date $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:229
/** * Converts a date to the string with default culture format setting. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:252
Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:176
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
/** * 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
/** * 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
/** * 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
/** * Creates DateTime object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:246
/** * 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
/** * Returns a date format from the culture in the php format. * * @param Context\Culture | null $culture Optional culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:264
/** * Converts date format from culture to php format. * * @param string $format Format string. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:309
/** * Checks the string for correct date (by trying to create Date object). * * @param string $time String representation of date. * @param string $format PHP date format. If not specified, the format is got from the current culture. * * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:359
/** * Creates Date object from Text (return array of result object) * Examples: "end of next week", "tomorrow morning", "friday 25.10" * * @param string $text * @return DateTime|null */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:417
/** * Returns short date culture format. * * @param Context\Culture | null $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:293
/** * Creates Date object from PHP \DateTime object. * * @param \DateTime $datetime Source object. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:387
/** * Creates Date object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:402
За август через агентские кабинеты Церебро получили: 12 239 822 переходов! Очень не простой месяц для рынка инфлюенсеров в ВК, я бы сказал пидец а не месяц (да что уже месяц - всё лето - сериал "крутое пике", но обо всём по порядку: 1. [Посевы в ВК](https://vk.com/public169082969): 981,9 тыс. ? Маркет ВК — 615 091 (-32,63%) ? AdBlogger — 366 869 (-80,33%) Проблема с охватами в посевах и в контент маркетинге началась в апреле-мае, далее с каждым месяцев усиливала. Можно посмотреть по нашим постам как это было: 1) [Обвал в июне](https://vk.com/wall-73662138_916475) 2) [Большой обзор падений охвата в ВК](https://vk.com/wall-73662138_916983) 3) [Выступление в точке по ситуации к августу](https://vk.com/wall-73662138_918882) Вкратце - в первый день охват в ВК почти не получает никакого охвата, вне зависимости от размера сообщества. Охват начинает набор только на вторые сутки. В посевах, как правило - удаление рекламного поста через 24 часа от размещения. В Адб строго через 24 часа, а в МП на усмотрение админов. Собственно именно по этому АДБ по эффективности упал на 80% (если сравнивать с апрелем цифра близится к 100%). А МП на 30% месяц к месяцу. Очень постараюсь добраться до полноценного описания происходящего в посевах ВК сейчас. Но, для понимания: - Средний СПМ в АДБ приближается уже к 500р - Средний СПМ в МП к 300р - В апреле-мае - средний СПМ был около 100 рублей!!! Картина крайне печальная. 2. [Таргет ВК](https://vk.com/public220029955): 6,2 млн ? VK ADS — 2 938 634 (-11,62%) ? Старый кабинет — 3 270 363 (+82,02%) Рост старого кабинета на 80% )) Конечно за счет перевода рекламных бюджетов из посевов в старый каб. По нашим метрикам, как я писал - это рекорд по открутке в старом кабинете ВК за все время работы с этим кабинетом. 3. [Яндекс](https://vk.com/club222833218): 4,9 млн ? Яндекс Директ — 4 944 070 (+9,45%) ? Яндекс Промостраницы — 40 445 (+262,64%) К Яндексу вопросов нет - красавчик, нарастает от месяца к месяцу без единого падения уже года два наверное! Промостраницы, кстати, тоже подрасли за счет перераспределения бюджетов части рекламодателей из посевов. 4.[ Трафик из маркетплейсов](https://vk.com/club226441912): ? Озон — 24 929 (-21,58%) 5. [Авито](https://vk.com/wall-73662138_918638): 39,3 тыс. ? Авито Перформ — 23 803 (-47,25%) ? Авито Медийка — 15 522 Самая важная новость месяца - Ц начал работать с медийкой Авито и скоро будут оч интересные новости ??? Коллеги, всех поздравляю с началом сезона рекламного рынка, добро пожаловать в HardWork, опять ))
За август через агентские кабинеты Церебро получили: 12 239 822 переходов!<br> <br> Очень не простой месяц для рынка инфлюенсеров в ВК, я бы сказал пидец а не месяц (да что уже месяц - всё лето - сериал "крутое пике", но обо всём по порядку:<br> <br> 1. <a href="https://vk.com/public169082969">Посевы в ВК</a>: 981,9 тыс.<br> ? Маркет ВК — 615 091 (-32,63%)<br> ? AdBlogger — 366 869 (-80,33%)<br> <br> Проблема с охватами в посевах и в контент маркетинге началась в апреле-мае, далее с каждым месяцев усиливала.<br> <br> Можно посмотреть по нашим постам как это было:<br> 1) <a href="https://vk.com/wall-73662138_916475">Обвал в июне</a><br> 2) <a href="https://vk.com/wall-73662138_916983">Большой обзор падений охвата в ВК</a><br> 3) <a href="https://vk.com/wall-73662138_918882">Выступление в точке по ситуации к августу</a><br> <br> Вкратце - в первый день охват в ВК почти не получает никакого охвата, вне зависимости от размера сообщества. Охват начинает набор только на вторые сутки.<br> <br> В посевах, как правило - удаление рекламного поста через 24 часа от размещения. В Адб строго через 24 часа, а в МП на усмотрение админов.<br> <br> Собственно именно по этому АДБ по эффективности упал на 80% (если сравнивать с апрелем цифра близится к 100%). А МП на 30% месяц к месяцу.<br> <br> Очень постараюсь добраться до полноценного описания происходящего в посевах ВК сейчас. Но, для понимания:<br> - Средний СПМ в АДБ приближается уже к 500р<br> - Средний СПМ в МП к 300р<br> - В апреле-мае - средний СПМ был около 100 рублей!!!<br> <br> Картина крайне печальная. <br> <br> 2. <a href="https://vk.com/public220029955">Таргет ВК</a>: 6,2 млн<br> ? VK ADS — 2 938 634 (-11,62%)<br> ? Старый кабинет — 3 270 363 (+82,02%)<br> <br> Рост старого кабинета на 80% )) Конечно за счет перевода рекламных бюджетов из посевов в старый каб.<br> По нашим метрикам, как я писал - это рекорд по открутке в старом кабинете ВК за все время работы с этим кабинетом.<br> <br> 3. <a href="https://vk.com/club222833218">Яндекс</a>: 4,9 млн<br> ? Яндекс Директ — 4 944 070 (+9,45%)<br> ? Яндекс Промостраницы — 40 445 (+262,64%)<br> <br> К Яндексу вопросов нет - красавчик, нарастает от месяца к месяцу без единого падения уже года два наверное!<br> <br> Промостраницы, кстати, тоже подрасли за счет перераспределения бюджетов части рекламодателей из посевов.<br> <br> 4.<a href="https://vk.com/club226441912"> Трафик из маркетплейсов</a>:<br> ? Озон — 24 929 (-21,58%)<br> <br> 5. <a href="https://vk.com/wall-73662138_918638">Авито</a>: 39,3 тыс.<br> ? Авито Перформ — 23 803 (-47,25%)<br> ?? Авито Медийка — 15 522<br> <br> Самая важная новость месяца - Ц начал работать с медийкой Авито и скоро будут оч интересные новости ??????<br> <br> Коллеги, всех поздравляю с началом сезона рекламного рынка, добро пожаловать в HardWork, опять ))
2013-04-06T11:36:34+00:00
/** * @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
/** * 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
/** * Returns timezone object. * * @return \DateTimeZone */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:106
/** * Sets timezone object. * * @param \DateTimeZone $timezone Timezone object. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:118
/** * Sets default timezone. * * @return DateTime */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:129
/** * @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
/** * 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
/** * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:281
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:289
/** * @return $this */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:299
/** * @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
/** * 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
/** * 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
/** * 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
/** * Sets the current date of the DateTime object to a different date. * @param int $year * @param int $month * @param int $day * * @return $this */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:169
/** * Returns Unix timestamp from date. * * @return int */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:218
/** * Returns difference between dates. * * @param Date $time * @return \DateInterval */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:229
/** * Converts a date to the string with default culture format setting. * * @return string */ Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:252
Inherited from Bitrix\Main\Type\Date Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:176
Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:71
/** * 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
/** * 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
/** * 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
/** * Creates DateTime object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/datetime.php:246
/** * 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
/** * Returns a date format from the culture in the php format. * * @param Context\Culture | null $culture Optional culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:264
/** * Converts date format from culture to php format. * * @param string $format Format string. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:309
/** * Checks the string for correct date (by trying to create Date object). * * @param string $time String representation of date. * @param string $format PHP date format. If not specified, the format is got from the current culture. * * @return bool */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:359
/** * Creates Date object from Text (return array of result object) * Examples: "end of next week", "tomorrow morning", "friday 25.10" * * @param string $text * @return DateTime|null */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:417
/** * Returns short date culture format. * * @param Context\Culture | null $culture Culture. * * @return string */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:293
/** * Creates Date object from PHP \DateTime object. * * @param \DateTime $datetime Source object. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:387
/** * Creates Date object from Unix timestamp. * * @param int $timestamp Source timestamp. * * @return static */ Defined in <ROOT>/bitrix/modules/main/lib/type/date.php:402
Обсуждение 15
Обсуждение не доступно в веб-версии. Чтобы написать комментарий, перейдите в приложение Telegram.
Обсудить в Telegram