I sent a message earlier and figured it out
---snip
dtstart =
time.strftime("%Y%m%d",time.localtime(time.time()-10*86400))
where -10*86400 was -31*86400
and it works great
Andre
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com