per page, with , order by , clip by
Results of 1 - 4 of about 4 for hours (0.005 sec.)
datetime --- 基本的な日付と時間の型 12426
datetime --- 基本的な日付と時間の型 ソースコード: Lib/datetime.py datetime モジュールは、日付や時刻を操作するためのクラスを提供しています。 日付や時刻に対する算術がサポートされている一方、実装では出力のフォーマットや操作のための効率的な属性 ... スの差を表します。 class datetime. timedelta ( days = 0 , seconds = 0 , microseconds = 0 , milliseconds = 0 , minutes = 0 , hours = 0 , weeks = 0 ) 全ての引数がオプションで、デフォルト値は0です。 引数は整数、浮動小数点数でもよく、正でも負でもかまいませ ... . timedelta ( ... days = 50 , ... seconds = 27 , ... microseconds = 10 , ... milliseconds = 29000 , ... minutes = 5 , ... hours = 8 , ... weeks = 2 ... ) >>> # days、seconds、microseconds だけが残る >>> delta datetime.timedelta(days=64, seconds=29156 ... tty_timedelta ( td ): ... if td . days >= 0 : ... return str ( td ) ... return f '-( { - td !s} )' ... >>> d = timedelta ( hours =- 1 ) >>> str ( d ) # 人には分かりにくい '-1 day, 23:00:00' >>> pretty_timedelta ( d ) '-(1:00:00)' 以下にクラス属性を示し ...
https://man.mtool.work/python/3.14/library/datetime.html
email.utils: 各種ユーティリティ 8340
email.utils : 各種ユーティリティ ソースコード: Lib/email/utils.py email.utils モジュールには、いくつかの便利なユーティリティがあります: email.utils. localtime ( dt = None ) Return local time as an aware datetime object. If called without ar ... or is raised if date contains an invalid value such as an hour greater than 23 or a timezone offset not between -24 and 24 hours. If the input date has a timezone of -0000 , the datetime will be a naive datetime , and if the date conforms to the RFCs ...
https://man.mtool.work/python/3.14/library/email.utils.html
zoneinfo --- IANA タイムゾーンのサポート 8210
zoneinfo --- IANA タイムゾーンのサポート Added in version 3.9. ソースコード: Lib/zoneinfo zoneinfo モジュールは、 PEP 615 で規定された IANA タイムゾーンデータベースに対応するタイムゾーンの具象実装を提供します。 デフォルトでは、 zoneinfo はシ ... timezone ( LOS_ANGELES )) 2020-11-01 01:00:00-07:00 >>> # PDT から PST への移行後 >>> print (( when_utc + dt . timedelta ( hours = 1 )) . astimezone ( LOS_ANGELES )) 2020-11-01 01:00:00-08:00 データソース zoneinfo モジュールはタイムゾーンデータを直接提 ...
https://man.mtool.work/python/3.14/library/zoneinfo.html
What's New In Python 3.11 7970
What's New In Python 3.11 編集者 : Pablo Galindo Salgado この記事では Python 3.10 と比較した Python 3.11 の新機能を解説します。Python 3.11 は2022年10月24日にリリースされました。全詳細については 変更履歴 をご覧ください。 概要 -- リリースハイ ... tetime.datetime.fromisoformat() can now be used to parse most ISO 8601 formats (barring only those that support fractional hours and minutes). (Contributed by Paul Ganssle in gh-80010 .) enum EnumMeta の名前が EnumType に変わりました ( EnumMeta は別名 ...
https://man.mtool.work/python/3.14/whatsnew/3.11.html
PREV 1 NEXT