__getattribute__(self, name) |
Return getattr(self, name). [extrait de __getattribute__.__doc__] |
__hash__(self) |
Return hash(self). [extrait de __hash__.__doc__] |
__reduce__ |
__reduce__() -> (cls, state) [extrait de __reduce__.__doc__] |
__reduce_ex__ |
__reduce_ex__(proto) -> (cls, state) [extrait de __reduce_ex__.__doc__] |
__repr__(self) |
Return repr(self). [extrait de __repr__.__doc__] |
__str__(self) |
Return str(self). [extrait de __str__.__doc__] |
astimezone |
tz -> convert to local time in new timezone tz [extrait de astimezone.__doc__] |
combine |
date, time -> datetime with same date and time fields [extrait de combine.__doc__] |
ctime |
Return ctime() style string. [extrait de ctime.__doc__] |
date |
Return date object with same year, month and day. [extrait de date.__doc__] |
dst |
Return self.tzinfo.dst(self). [extrait de dst.__doc__] |
fromisocalendar |
int, int, int -> Construct a date from the ISO year, week number and weekday. [extrait de fromisocalendar.__doc__] |
fromisoformat |
string -> datetime from datetime.isoformat() output [extrait de fromisoformat.__doc__] |
fromordinal |
int -> date corresponding to a proleptic Gregorian ordinal. [extrait de fromordinal.__doc__] |
fromtimestamp |
timestamp[, tz] -> tz's local time from POSIX timestamp. [extrait de fromtimestamp.__doc__] |
isoformat |
[sep] -> string in ISO 8601 format, YYYY-MM-DDT[HH[:MM[:SS[.mmm[uuu]]]]][+HH:MM]. [extrait de isoformat.__doc__] |
now(tz=None) |
Returns new datetime object representing current time local to tz. [extrait de now.__doc__] |
replace |
Return datetime with new specified fields. [extrait de replace.__doc__] |
strptime |
string, format -> new datetime parsed from a string (like time.strptime()). [extrait de strptime.__doc__] |
time |
Return time object with same time but with tzinfo=None. [extrait de time.__doc__] |
timestamp |
Return POSIX timestamp as float. [extrait de timestamp.__doc__] |
timetuple |
Return time tuple, compatible with time.localtime(). [extrait de timetuple.__doc__] |
timetz |
Return time object with same time and tzinfo. [extrait de timetz.__doc__] |
today |
Current date or datetime: same as self.__class__.fromtimestamp(time.time()). [extrait de today.__doc__] |
tzname |
Return self.tzinfo.tzname(self). [extrait de tzname.__doc__] |
utcfromtimestamp |
Construct a naive UTC datetime from a POSIX timestamp. [extrait de utcfromtimestamp.__doc__] |
utcnow |
Return a new datetime representing UTC day and time. [extrait de utcnow.__doc__] |
utcoffset |
Return self.tzinfo.utcoffset(self). [extrait de utcoffset.__doc__] |
utctimetuple |
Return UTC time tuple, compatible with time.localtime(). [extrait de utctimetuple.__doc__] |
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :