タグ

関連タグで絞り込む (2)

タグの絞り込みを解除

PythonとDateTimeに関するoinumeのブックマーク (2)

  • python-dateutil - Labix

    Description The dateutil module provides powerful extensions to the standard datetime module, available in Python 2.3+. News 2011-03-24 dateutil 2.0 is out! Ported to Python 3, by Brian Jones. If you need dateutil for Python 2.X, please continue using the 1.X series. There's no such thing as a "PSF License". This source code is now made available under the Simplified BSD license. See LICENSE for d

  • Pythonの日付処理とTimeZone | Nekoya press

    日付周りの処理というのはとても難しい問題で、特にTimeZoneが絡むと基的に大変なことになります。 Pythonは標準で用意されているdatetimeモジュールが高機能なので、それを使っておけば間違いない感があって、そういう意味では安心感があります。 とは言え、その扱いにはやはり注意が必要で、現時点でこうするのがいいかなーと思っていることをつらつらと記録したエントリがこちらです。 基的にはMacPython2.7.1で検証して、おやっと思ったところはCentOS5.8のPython2.6.5やUbuntu12.04のPython2.7.3で追試しています。 なお、datetime.datetimeと書くのがだるいので文中では、 from datetime import datetime を前提としています。 naiveとaware 公式ドキュメントにそのまま載ってるけど、date

  • 1