python datetime only get date code example
Example: how to get date in numbers using python
from datetime import datetime
shortDate = datetime.today().strftime('%Y-%m-%d')
from datetime import datetime
shortDate = datetime.today().strftime('%Y-%m-%d')