from datetime import datetime


def parse_date(date_text: str):
    """
    Convert a date string into a datetime instance that can be saved as an
    SQL DATE.
    :param date_text: A timestamp string in "YYYY-MM-DD" format
    :return: A datetime object
    """
    return datetime.strptime(date_text, '%Y-%m-%d')