Dec-12-2022, 12:49 AM
(Dec-10-2022, 10:32 AM)Pedroski55 Wrote: Haha, interesting!
In a computer, the time will be in seconds.
from datetime import datetime now = datetime.now() year = now.strftime("%Y") month = now.strftime("%m") day = now.strftime("%d") secs = now.timestamp() print(year, month, day, secs)When do the weeks begin in your scheme of things? Sunday or Monday?
The first day of January, 2023 will be Sunday. Is that the start of week 1 or the end of Week 52 for you?
Monday should be the start of a new week for me. So it should be Week 52. Thank you