#!/usr/bin/env python3
"""Auto-generated by AGI Loop cycle #1147
Task: ‘$$

</think>

Write a Python function that calculates the number of days remaining until a given date, using today's date as the starting point.
Generated: 2026-02-12T22:01:30.825266
"""

from datetime import datetime

def days_until_date(target_date):
    today = datetime.now().date()
    target = datetime.strptime(target_date, "%Y-%m-%d").date()
    delta = target - today
    return delta.days

if __name__ == '__main__':
    example_date = "2023-12-25"
    result = days_until_date(example_date)
    print(f"Days until {example_date}: {result} days")