On 2010-07-23, Jim <jim.hefferon at gmail.com> wrote: > How can I calculate how much time is between now and the next > 2:30 am? Naturally I want the system to worry about leap > years, etc. You need the datetime module. Specifically, a datetime and timedelta object. -- Neil Cerutti