def getDate(timestamp):
    """
    Extracts the date from a timestamp.
    :param timestamp: The timestamp from which the date should be obtained. \t
    :type timestamp: string \n
    :returns: The date info of the timestamp. \t
    :rtype: string \n
    """
    return timestamp.split('T')[0]