Posterous

FreeCheese.co.uk

The home of Adam J. Forster

Filed underpython

See all posts on Posterous with this tag »

Adam J. Forster

Adam is an experienced software developer, based in the West Midlands, UK.

TwitterFacebookLinkedIn
Adam J. Forster's profile »

Tags

  • python (1)

Archive

2011 (1)
November (1)
Follow this Space »
You're following this Space (Edit)
You're a contributor here (Edit)
This is your Space (Edit)
Follow by email »
Get the latest updates in your email box automatically.
Loading...
November 25, 2011

Subtracting years from a date in Python

  • Edit
  • Delete
  • Tags
  • Autopost

Here's a simple function to subtract a number of years from a given datetime.date object:

Facebook Twitter More...

Filed under  //

  • python
  • 0 responses
  • Like
  • Comment