import time


def get_current_date() ->str:
    """Forms a string to represent the current date using the time module"""
    if len(str(time.gmtime()[2])) == 1:
        current_date = str(time.gmtime()[0]) + '-' + str(time.gmtime()[1]) + '-0' + str(time.gmtime()[2])
    else:
        current_date = str(time.gmtime()[0]) + '-' + str(time.gmtime()[1]) + '-' + str(time.gmtime()[2])
    return current_date