Lines Matching refs:UTC
33 Coordinated Universal Time (UTC), local time, or time in some other timezone is
41 These :class:`tzinfo` objects capture information about the offset from UTC
45 represent simple timezones with fixed offset from UTC, such as UTC itself or
49 standard suitable for every application aside from UTC.
121 fixed offset from the UTC.
750 Return the current UTC date and time, with :attr:`.tzinfo` ``None``. This is like
751 :meth:`now`, but returns the current UTC date and time, as a naive
752 :class:`.datetime` object. An aware current UTC datetime can be obtained by
789 Return the UTC :class:`.datetime` corresponding to the POSIX timestamp, with
933 time or when the UTC offset for the current zone is decreased for political reasons.)
979 as if *a* and *b* were first converted to naive UTC datetimes first. The
994 attributes, the comparands are first adjusted by subtracting their UTC
1057 adjusting the date and time data so the result is the same UTC time as
1071 time in the timezone *tz*, representing the same UTC time as *self*: after
1087 # Convert self to UTC, and attach the new time zone object.
1089 # Convert from UTC to tz's local time.
1107 The UTC offset is not restricted to a whole number of minutes.
1144 ``d.dst()`` returns. DST is never in effect for a UTC time.
1146 If *d* is aware, *d* is normalized to UTC time, by subtracting
1150 ``MINYEAR`` or ``MAXYEAR`` and UTC adjustment spills over a year
1186 naive :class:`.datetime` instance representing UTC time. If your
1188 set to UTC, you can obtain the POSIX timestamp by supplying
1223 appended, giving the UTC offset:
1479 time or when the UTC offset for the current zone is decreased for political reasons.)
1497 subtracting their UTC offsets (obtained from ``self.utcoffset()``). In order
1515 represented midnight in UTC. This behavior was considered obscure and
1554 string is appended, giving the UTC offset: HH:MM:SS.ffffff+HH:MM[:SS[.ffffff]]
1619 The UTC offset is not restricted to a whole number of minutes.
1676 timezones with fixed offset from UTC such as UTC itself or North American EST and
1682 supports methods revealing offset of local time from UTC, the name of the time
1697 Return offset of local time from UTC, as a :class:`timedelta` object that is
1698 positive east of UTC. If local time is
1699 west of UTC, this should be negative. Note that this is intended to be the
1700 total offset from UTC; for example, if a :class:`tzinfo` object represents both
1702 the UTC offset isn't known, return ``None``. Else the value returned must be a
1718 The UTC offset is not restricted to a whole number of minutes.
1728 already been added to the UTC offset returned by :meth:`utcoffset`, so there's
1778 "GMT", "UTC", "-500", "-5:00", "EDT", "US/Eastern", "America/New York" are all
1797 may be more useful for ``utcoffset(None)`` to return the standard UTC offset, as
1813 date and time data are to be viewed as expressing a UTC time. The purpose
1823 offset (from UTC) depends on the specific date and time passed, which can happen
1854 points. For concreteness, consider US Eastern (UTC -0500), where EDT begins the
1858 UTC 3:MM 4:MM 5:MM 6:MM 7:MM 8:MM
1877 ... print(u.time(), 'UTC =', t.time(), t.tzname())
1879 05:00:00 UTC = 00:00:00 EST
1880 06:00:00 UTC = 01:00:00 EST
1881 07:00:00 UTC = 03:00:00 EDT
1882 08:00:00 UTC = 04:00:00 EDT
1887 daylight time. In Eastern, that's times of the form 5:MM UTC on the day
1890 :meth:`astimezone` mimics the local clock's behavior by mapping two adjacent UTC
1891 hours into the same local hour then. In the Eastern example, UTC times of the
1900 ... print(u.time(), 'UTC =', t.time(), t.tzname(), t.fold)
1902 04:00:00 UTC = 00:00:00 EDT 0
1903 05:00:00 UTC = 01:00:00 EDT 0
1904 06:00:00 UTC = 01:00:00 EST 1
1905 07:00:00 UTC = 02:00:00 EST 0
1920 fixed offsets from UTC and :attr:`timezone.utc` as UTC timezone instance.
1929 made by political bodies to time zone boundaries, UTC offsets, and
1940 UTC. Note that objects of this class cannot be used to represent
1949 object representing the difference between the local time and UTC. It must
1959 The UTC offset is not restricted to a whole number of minutes.
1967 local time and UTC.
1970 The UTC offset is not restricted to a whole number of minutes.
1978 is "UTC", otherwise it is a string 'UTC±HH:MM', where ± is the sign
1983 Name generated from ``offset=timedelta(0)`` is now plain 'UTC', not
1984 'UTC+00:00'.
2000 The UTC timezone, ``timezone(timedelta(0))``.
2106 | ``%z`` | UTC offset in the form | (empty), +0000, | \(6) |
2111 | ``%Z`` | Time zone name (empty string | (empty), UTC, EST, CST | |
2222 ±HHMM[SS[.ffffff]], where HH is a 2-digit string giving the number of UTC
2223 offset hours, MM is a 2-digit string giving the number of UTC offset
2224 minutes, SS is a 2-digit string giving the number of UTC offset
2225 seconds and ffffff is a 6-digit string giving the number of UTC
2233 The UTC offset is not restricted to a whole number of minutes.
2237 the UTC offsets can have a colon as a separator between hours, minutes