datetime_functions.py 163 B

1234567
  1. import datetime
  2. def get_calendarweek_from_datetime(datetime_obj):
  3. return datetime_obj.strftime('%V')
  4. def get_current_date():
  5. return datetime.date.today()