Question #209704 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/209704
Status: Open => Answered RaiMan proposed the following answer: What about: nowdate = time.strftime("%d-%m-%Y %H:%M:%S") module time is already imported by Sikuli strftime() takes now(), if no time given so that is all duedate = "26-09-2012 00:00:00" if duedate < time.strftime("%d-%m-%Y %H:%M:%S"): print "in the past" -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp