> a = now() > delta = ReltaiveDateTime(days=+6, weekday(mx.DateTime.Friday, 0)) > Next Friday: a+delta > a: march 23 > a+delta: Gives me March 31st and not March 24th > Any ideas?
Just an off-beat idea: use Python's datetime instead of mx.DateTime, and my recur module: http://projects.amor.org/misc/wiki/Recur >>> import datetime, recur >>> recur.Recurrence(datetime.date.today(), "Friday").next() datetime.date(2006, 3, 24) Robert Brewer System Architect Amor Ministries [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list