Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

datetime questions

0 views
Skip to first unread message

Niklasro

unread,
Sep 7, 2010, 1:27:23 PM9/7/10
to
Hello
Learning python datetime somewhat similar to SQL type timestamp my
attempt creating a 24 h 2 months ago is

str(datetime.now () - timedelta (days = 60)) +' cron '+
str(datetime.now () - timedelta (days = 59))

Do you agree? Can I improve this declaration?
Regards
Niklas Rosencrantz

0 new messages