Untitled

mail@pastecode.io avatar
unknown
plain_text
9 days ago
351 B
2
Indexable
Never
from datetime import datetime

# Get the current date
data_atual = datetime.now()

# Define the birthday date
data_de_aniversario = datetime.strptime("30/06/2025", "%d/%m/%Y")

# Calculate the difference in days
faltante = (data_de_aniversario - data_atual).days

# Print the result
print(f'Faltam {faltante} dias para o meu aniversário')
Leave a Comment