def seasonFromDate(date):
    """
    Returns the value of season from month and day data of the timestamp

    Parameters
    ----------
    date : String
        Timestamp or date string in format of YYYY-MM-DD or followed by timestamp

    Returns
    -------
    season : STRING
        Season corresponding to the date

    """
    dayMonth=date[5:10]
    if dayMonth<"03-21"or dayMonth>"12-21":
        season="Winter"
    elif dayMonth<"06-22":
        season="Spring"
    elif dayMonth<"09-21":
        season="Summer"
    else:
        season="Autumn"
    return season