sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #13418
Re: [Question #209704]: datetime, compare 2 dates, can this be done a smarter way?
Question #209704 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/209704
Status: Solved => Open
Alex Nilsson is still having a problem:
Or so i thought, it doesn't play nice with years.. if you set the duedate = "26-09-2013 17:58:23"
and run:
duedate < time.strftime("%d-%m-%Y %H:%M:%S"): print "in the past"
It'll say it's in the past..
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.