sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #29785
[Question #259504]: get previous date
New question #259504 on Sikuli:
https://answers.launchpad.net/sikuli/+question/259504
Hello,
Is there a simple way to get date for the previous day as a string (e.g. today is 23.12.2014 I need 22.12.2014)? I can't figure it out. All that I could think of is a bunch of "if - else" statements there I create a day, month and then a year and then concatenate them.
I don't need a complex solution which will handle situation 01.01.2015 => 31.12.2014, however I need a solution which will handle neighboring months like 01.12.2014 => 30.11.2014
Please advise.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.