Skip to content

Instantly share code, notes, and snippets.

View hobojoe1848's full-sized avatar
🎯
Focusing

Julian hobojoe1848

🎯
Focusing
View GitHub Profile
@hobojoe1848
hobojoe1848 / what-week.py
Created February 17, 2025 00:29
What Week is it Script
from datetime import datetime
def get_current_week():
current_date = datetime.now()
current_week = current_date.isocalendar()[1]
print(f"Current week of the year: {current_week}")
if __name__ == "__main__":
get_current_week()