• Home
  • Raw
  • Download

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.
731 Return the current UTC date and time, with :attr:`.tzinfo` ``None``. This is like
732 :meth:`now`, but returns the current UTC date and time, as a naive
733 :class:`.datetime` object. An aware current UTC datetime can be obtained by
770 Return the UTC :class:`.datetime` corresponding to the POSIX timestamp, with
899 time or when the UTC offset for the current zone is decreased for political reasons.)
947 as if *a* and *b* were first converted to naive UTC datetimes first. The
962 attributes, the comparands are first adjusted by subtracting their UTC
1025 adjusting the date and time data so the result is the same UTC time as
1040 time in the timezone *tz*, representing the same UTC time as *self*: after
1056 # Convert self to UTC, and attach the new time zone object.
1058 # Convert from UTC to tz's local time.
1109 ``d.dst()`` returns. DST is never in effect for a UTC time.
1111 If *d* is aware, *d* is normalized to UTC time, by subtracting
1115 ``MINYEAR`` or ``MAXYEAR`` and UTC adjustment spills over a year
1151 naive :class:`.datetime` instance representing UTC time. If your
1153 set to UTC, you can obtain the POSIX timestamp by supplying
1188 appended, giving the UTC offset in (signed) hours and minutes:
1444 time or when the UTC offset for the current zone is decreased for political reasons.)
1462 subtracting their UTC offsets (obtained from ``self.utcoffset()``). In order
1480 represented midnight in UTC. This behavior was considered obscure and
1502 6-character string is appended, giving the UTC offset in (signed) hours and
1622 timezones with fixed offset from UTC such as UTC itself or North American EST and
1628 supports methods revealing offset of local time from UTC, the name of the time
1643 Return offset of local time from UTC, in minutes east of UTC. If local time is
1644 west of UTC, this should be negative. Note that this is intended to be the
1645 total offset from UTC; for example, if a :class:`tzinfo` object represents both
1647 the UTC offset isn't known, return ``None``. Else the value returned must be a
1665 Return the daylight saving time (DST) adjustment, in minutes east of UTC, or
1669 already been added to the UTC offset returned by :meth:`utcoffset`, so there's
1716 "GMT", "UTC", "-500", "-5:00", "EDT", "US/Eastern", "America/New York" are all
1735 may be more useful for ``utcoffset(None)`` to return the standard UTC offset, as
1751 date and time data are to be viewed as expressing a UTC time. The purpose
1761 offset (from UTC) depends on the specific date and time passed, which can happen
1790 points. For concreteness, consider US Eastern (UTC -0500), where EDT begins the
1794 UTC 3:MM 4:MM 5:MM 6:MM 7:MM 8:MM
1811 ... print(u.time(), 'UTC =', t.time(), t.tzname())
1813 05:00:00 UTC = 00:00:00 EST
1814 06:00:00 UTC = 01:00:00 EST
1815 07:00:00 UTC = 03:00:00 EDT
1816 08:00:00 UTC = 04:00:00 EDT
1821 daylight time. In Eastern, that's times of the form 5:MM UTC on the day
1824 :meth:`astimezone` mimics the local clock's behavior by mapping two adjacent UTC
1825 hours into the same local hour then. In the Eastern example, UTC times of the
1834 ... print(u.time(), 'UTC =', t.time(), t.tzname(), t.fold)
1836 04:00:00 UTC = 00:00:00 EDT 0
1837 05:00:00 UTC = 01:00:00 EDT 0
1838 06:00:00 UTC = 01:00:00 EST 1
1839 07:00:00 UTC = 02:00:00 EST 0
1854 fixed offsets from UTC and :attr:`timezone.utc` as UTC timezone instance.
1863 made by political bodies to time zone boundaries, UTC offsets, and
1874 UTC. Note that objects of this class cannot be used to represent
1883 object representing the difference between the local time and UTC. It must
1898 local time and UTC.
1906 is "UTC", otherwise it is a string 'UTC±HH:MM', where ± is the sign
1911 Name generated from ``offset=timedelta(0)`` is now plain 'UTC', not
1912 'UTC+00:00'.
1928 The UTC timezone, ``timezone(timedelta(0))``.
2023 | ``%z`` | UTC offset in the form +HHMM | (empty), +0000, -0400, | \(6) |
2027 | ``%Z`` | Time zone name (empty string | (empty), UTC, EST, CST | |
2138 +HHMM or -HHMM, where HH is a 2-digit string giving the number of UTC
2139 offset hours, and MM is a 2-digit string giving the number of UTC offset