sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #29790
Re: [Question #259504]: get previous date
Question #259504 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/259504
Status: Open => Answered
Eugene Maslov proposed the following answer:
Hi,
import datetime
td= datetime.datetime.now() + datetime.timedelta(days=-1)
print td.strftime("%d.%m.%Y %H:%M:%S")
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.