Day resolution

import datetime

date_object = datetime.date.today()
date_object = datetime.date(year=2024, month=8, day=5)

date_object.day, date_object.month, date_object.year # = (5, 8, 2024)
date_object.weekday() # = 0 (monday is 0)
date_object.strftime(my_string)

'%x -- %X' -> '08/05/24 -- 00:00:00'
'%Y -- %y' -> '2024 -- 24'
'%B -- %b -- %m -- %-m' -> 'August -- Aug -- 08 -- 8'
'%A -- %a -- %w -- %d -- %-d' -> 'Monday -- Mon -- 1 -- 05 -- 5' # Weekday as a decimal number, where 0 is Sunday and 6 is Saturday.

Microsecond resolution

datetime_object = datetime.datetime(year=2024, month=2, day=2, hour=17, minute=42, second=2, microsecond=3)