def pds3_label_gen_date(file):
    """Returns the creation date of a given PDS3 label.

    :param path: File path
    :type path: str
    :return: Creation date
    :rtype: str
    """
    generation_date = "N/A"

    with open(file, "r") as f:

        for line in f:
            if "PRODUCT_CREATION_TIME" in line:
                generation_date = line.split("=")[1].strip()

    return generation_date