Skip to content
University of Bristol logo

Tessa Alexander's notes

on web development.

  • About
  • Archive
  • Twitter
  • GitHub
  • LinkedIn

strftime gotcha

Posted on November 26, 2014May 28, 2020 by Tessa (the external)

It turns out in Python 2.7 datetime.strftime can’t handle dates before 1900. e.g.

ValueError: year=1066 is before 1900; the datetime strftime() methods require year >= 1900

Posted in TipsTagged gotcha, python

Post navigation

Self-Contained Deployment (Rach Belaid)
zgrep

Categories

  • Android
  • Conferences
  • Sessions
  • Talks
  • Tips
  • Training
  • Workshops

Links

  • Meetup
  • Padlets
  • Research IT, University of Bristol
  • Web/tech related bookmarks

Tags

2018 ajax cloud dbpedia dev8D dexy django djangocon docker dockercon dockercon2020 email europython FOSDEM git google HPC IMAP ipython k-9 kss learning linux machine machine learning mobile mollyproject monitoring mymobilebristol notebook open source pandas PyConUK pyconuk2018 pylons python R RepRap RSS software twapper twitter Yahoo pipes zodb Zope
© 2025 University of Bristol | Terms of use