Duplicated from ayush2917/Birthday
ec752d3
1
2
3
4
5
6
7
from datetime import datetime def get_countdown(): birthday = datetime(2025, 4, 19) today = datetime.now() days_left = (birthday - today).days return max(0, days_left) # Ensure non-negative