[EMAIL PROTECTED] wrote: > the time is DateTime.DateTime object from a mySQLdb query. > the value is a number anywhere between 0 and 15. > the datetime is formatted like 2005-10-20 08:40:34 > > i could strip it and make a timestamp out of it. but reading the > number of seconds since january of 1970 doesn't make a neat chart. > > any suggestions?
Python is capable of integer arithmetic, eg. >>> 2000 - 500 1500 -- William Park <[EMAIL PROTECTED]>, Toronto, Canada ThinFlash: Linux thin-client on USB key (flash) drive http://home.eol.ca/~parkw/thinflash.html BashDiff: Super Bash shell http://freshmeat.net/projects/bashdiff/ -- http://mail.python.org/mailman/listinfo/python-list