been trying to change this so it wont use my server time. but my
actual time here in the us.EST. havent been able to figure it out
def sstime(user, body, m):
os.environ['TZ'] = 'US/Eastern'
tstr1 = time.strftime("%a, %b-%d-%Y", time.tzset())
tstr2 = time.strftime("%I:%M:%S %p", time.tzset())
tstr3 = time.strftime("%Z", time.tzset())
return Html("Today is <b><i>%s</i></b> and The current time is
<b><i>%s</i></b> <b><i>(%s)</i></b>" % (tstr1, tstr2, tstr3))
--
~~Austin
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor