Bubble Foundry

Posts tagged with: datetime

Simple Fun with Python’s Datetime Libraries
My Apple iPhone Developer account expires in 56 days, so I wanted to know what expiration date I should mark in my calendar. Here’s how I calculated it from the Python console: >>> import datetime >>> datetime.date.today() + datetime.timedelta(days=56) datetime.date(2009, 11, 8) Read more – ‘Simple Fun with Python’s Datetime Libraries’.