<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: calendar</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/calendar.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2009-07-16T19:22:48+00:00</updated><author><name>Simon Willison</name></author><entry><title>IanVisits: London Events Calendar</title><link href="https://simonwillison.net/2009/Jul/16/londonevents/#atom-tag" rel="alternate"/><published>2009-07-16T19:22:48+00:00</published><updated>2009-07-16T19:22:48+00:00</updated><id>https://simonwillison.net/2009/Jul/16/londonevents/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.ianvisits.co.uk/calendar/events/"&gt;IanVisits: London Events Calendar&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Ian Mansfield maintains a superb calendar of cultural (and geeky) events in London. Lectures, tours, bat walks, film screenings... did you know there’s a Festival of Model Tramways this weekend?


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/calendar"&gt;calendar&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/events"&gt;events&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ian-mansfield"&gt;ian-mansfield&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ian-visits"&gt;ian-visits&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/london"&gt;london&lt;/a&gt;&lt;/p&gt;



</summary><category term="calendar"/><category term="events"/><category term="ian-mansfield"/><category term="ian-visits"/><category term="london"/></entry><entry><title>calendar.timegm()</title><link href="https://simonwillison.net/2007/Sep/3/calendar/#atom-tag" rel="alternate"/><published>2007-09-03T01:54:35+00:00</published><updated>2007-09-03T01:54:35+00:00</updated><id>https://simonwillison.net/2007/Sep/3/calendar/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://docs.python.org/lib/module-calendar.html#l2h-719"&gt;calendar.timegm()&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
An “unrelated but handy function” that converts a time.gmtime() in to a corresponding Unix timestamp. I’ve been hand-rolling this one for years; never thought to look in calendar.

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="http://intertwingly.net/blog/2007/09/02/Dealing-With-Dates"&gt;Sam Ruby&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/calendar"&gt;calendar&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/datetime"&gt;datetime&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/python"&gt;python&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/sam-ruby"&gt;sam-ruby&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/time"&gt;time&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/timezones"&gt;timezones&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/unixtimestamp"&gt;unixtimestamp&lt;/a&gt;&lt;/p&gt;



</summary><category term="calendar"/><category term="datetime"/><category term="python"/><category term="sam-ruby"/><category term="time"/><category term="timezones"/><category term="unixtimestamp"/></entry></feed>