from datetime import datetime


def timestamp_for_date(date_string):
    """
    Input: date in format YYYY-MM-DD (str)
    Output: timestamp (int)
    """
    dt = datetime.strptime(date_string, "%Y/%m/%d")
    return int(datetime.timestamp(dt))