Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: MKJ
Added: Nov 5, 2019 6:15 AM
Views: 2
Tags: no tags
  1. initial_start_date = datetime(year=datetime.today().year, month=datetime.today().month,
  2.                                       day=datetime.today().day)
  3.         start_date = initial_start_date + timedelta(days=8 - initial_start_date.weekday())