Did anybody notice that the interval of second in Python datetime is [00,61]
see the table in the bottom of this page.
http://docs.python.org/library/datetime.html#strftime-
When you have to add leap second it will be helpful to calculate that. You can search on net for leap second. Due to that second range in python is 0-61.