weekday numbers (sunday not being 0)

James J. Besemer jb at cascade-sys.com
Wed Oct 23 16:01:57 EDT 2002


Michal Vitecek wrote:

> hello everyone,
>
> does anyone know why is for god's sake monday 0 and sunday 6 in
> time.localtime().tm_wday? why have the python developers decided to
> differ from standard C library function?
>
>    thank you for answers,
>  
>
That's the way it is in the Bible.  Good enough for GOD, good enough for 
Guido.

--jb

-- 
James J. Besemer		503-280-0838 voice
2727 NE Skidmore St.		503-280-0375 fax
Portland, Oregon 97211-6557	mailto:jb at cascade-sys.com
				http://cascade-sys.com	







More information about the Python-list mailing list