Pyxis 開発ブログ
Pyxis 開発ブログ
読者になる

Pyxis 開発ブログ

2010-03-08から1日間の記事一覧

2010-03-08

Python's strftime dislikes years before 1900

>>> birthday = datetime.datetime(year=1879, month=3, day=19) >>> birthday.strftime("%y/%m/%d") Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: year=979 is before 1900; the datetime strftime() methods require year >= 190</module></stdin>…

はてなブックマーク -  Python's strftime dislikes years before 1900
プロフィール
id:pyxis-dev id:pyxis-dev
読者です 読者をやめる 読者になる 読者になる
このブログについて
検索
リンク
  • はてなブログ
  • ブログをはじめる
  • 週刊はてなブログ
  • はてなブログPro
最新記事
  • Python's strftime dislikes years before 1900
  • Review Board
  • Python で無限大を得る方法
  • RHEL 4 への qdbm-1..8.77 インストールではまった
  • virtualenv 下で sitecustomize.py が機能しない
月別アーカイブ
  • ▼ ▶
    2010
    • 2010 / 3
  • ▼ ▶
    2009
    • 2009 / 11
    • 2009 / 9
    • 2009 / 8
    • 2009 / 7
    • 2009 / 6
    • 2009 / 3
    • 2009 / 2
    • 2009 / 1
  • ▼ ▶
    2008
    • 2008 / 12
    • 2008 / 10
    • 2008 / 9
    • 2008 / 7
    • 2008 / 6
    • 2008 / 5
    • 2008 / 4
    • 2008 / 3
    • 2008 / 2
    • 2008 / 1
Pyxis 開発ブログ Pyxis 開発ブログ

Powered by Hatena Blog | ブログを報告する

引用をストックしました

引用するにはまずログインしてください

引用をストックできませんでした。再度お試しください

限定公開記事のため引用できません。

読者です 読者をやめる 読者になる 読者になる