Commit 6956cac7 authored by Vitaly Lipatov's avatar Vitaly Lipatov

add yesterday scripts

parent ad0f8f1d
#!/usr/bin/python
from datetime import date, timedelta
yesterday = date.today() - timedelta(1)
print yesterday.strftime('%Y%m%d')
date -d yesterday "+%Y%m%d"
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment