• Home
  • Raw
  • Download

Lines Matching refs:UTC

30 Coordinated Universal Time (UTC), local time, or time in some other timezone is
38 These :class:`tzinfo` objects capture information about the offset from UTC
675 Return the current UTC date and time, with :attr:`.tzinfo` ``None``. This is like
676 :meth:`now`, but returns the current UTC date and time, as a naive
703 Return the UTC :class:`.datetime` corresponding to the POSIX timestamp, with
846 as if *a* and *b* were first converted to naive UTC datetimes first. The
858 attributes, the comparands are first adjusted by subtracting their UTC
906 adjusting the date and time data so the result is the same UTC time as
916 time in time zone *tz*, representing the same UTC time as *self*: after
935 # Convert self to UTC, and attach the new time zone object.
937 # Convert from UTC to tz's local time.
981 ``d.dst()`` returns. DST is never in effect for a UTC time.
983 If *d* is aware, *d* is normalized to UTC time, by subtracting
987 *d*.year was ``MINYEAR`` or ``MAXYEAR`` and UTC adjustment spills over a year
1023 appended, giving the UTC offset in (signed) hours and minutes:
1249 subtracting their UTC offsets (obtained from ``self.utcoffset()``). In order
1278 6-character string is appended, giving the UTC offset in (signed) hours and
1367 supports methods revealing offset of local time from UTC, the name of the time
1382 Return offset of local time from UTC, in minutes east of UTC. If local time is
1383 west of UTC, this should be negative. Note that this is intended to be the
1384 total offset from UTC; for example, if a :class:`tzinfo` object represents both
1386 the UTC offset isn't known, return ``None``. Else the value returned must be a
1404 Return the daylight saving time (DST) adjustment, in minutes east of UTC, or
1408 already been added to the UTC offset returned by :meth:`utcoffset`, so there's
1455 "GMT", "UTC", "-500", "-5:00", "EDT", "US/Eastern", "America/New York" are all
1474 may be more useful for ``utcoffset(None)`` to return the standard UTC offset, as
1490 date and time data are to be viewed as expressing a UTC time. The purpose
1500 offset (from UTC) depends on the specific date and time passed, which can happen
1530 points. For concreteness, consider US Eastern (UTC -0500), where EDT begins the
1534 UTC 3:MM 4:MM 5:MM 6:MM 7:MM 8:MM
1551 daylight time. In Eastern, that's times of the form 5:MM UTC on the day
1554 :meth:`astimezone` mimics the local clock's behavior by mapping two adjacent UTC
1555 hours into the same local hour then. In the Eastern example, UTC times of the
1563 :class:`tzinfo` subclasses; there are no ambiguities when using UTC, or any
1580 made by political bodies to time zone boundaries, UTC offsets, and
1678 | ``%z`` | UTC offset in the form +HHMM | (empty), +0000, -0400, | \(5) |
1682 | ``%Z`` | Time zone name (empty string | (empty), UTC, EST, CST | |
1754 +HHMM or -HHMM, where HH is a 2-digit string giving the number of UTC
1755 offset hours, and MM is a 2-digit string giving the number of UTC offset