TG⚡️STAR
@TG_STAR_marketing
3 611
2019-12-05T16:34:55+00:00
Беру каналы на ВП Обратная связь @SMariyS
/** * @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
2019-12-05T16:34:55+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
2019-12-05T16:34:55+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
2019-12-05T16:34:55+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
2019-12-05T16:34:55+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
**Канал - **[** **](https://t.me/romagolovanov)[**ТалипоV**](https://t.me/talipovonlineV) [𝐎𝐧𝐥𝐢𝐧𝐞 🅉](https://t.me/talipovonlineV)** ** 👍**Прайс-лист:** __20__ __000__ р. - 1\24 ч.__ __ 👋[**Tgstat** ](https://tgstat.ru/channel/@talipovonlineV/stat) **👋**[**Telemetr**](https://telemetr.me/@talipovonlinev)** ** __Напишите мне:__ **@SMariyS** **‼️****Общий прайс 👉** [**жми**](https://t.me/TG_STAR_marketing/189)
<b>Канал - </b><a href="https://t.me/romagolovanov"><b> </b></a><a href="https://t.me/talipovonlineV"><b>ТалипоV</b></a> <a href="https://t.me/talipovonlineV">𝐎𝐧𝐥𝐢𝐧𝐞 🅉</a><b><br> </b><br> <tg-emoji emoji-id="5251300352103314690">👍</tg-emoji><b>Прайс-лист:</b><br> <br> <i>20</i> <i>000</i> р. - 1\24 ч.<i><br> </i><br> <tg-emoji emoji-id="5249003321989036277">👋</tg-emoji><a href="https://tgstat.ru/channel/@talipovonlineV/stat"><b>Tgstat</b> </a> <b><tg-emoji emoji-id="5251470540182416779">👋</tg-emoji></b><a href="https://telemetr.me/@talipovonlinev"><b>Telemetr</b></a><b><br> </b><br> <i>Напишите мне:</i> <b>@SMariyS</b><br> <br> <b><tg-emoji emoji-id="5440660757194744323">‼️</tg-emoji></b><b>Общий прайс 👉</b> <a href="https://t.me/TG_STAR_marketing/189"><b>жми</b></a>
2019-12-05T16:34:55+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
Обсуждение 0
Обсуждение не доступно в веб-версии. Чтобы написать комментарий, перейдите в приложение Telegram.
Обсудить в Telegram