(fmt="%Y-%m-%d")
return datetime.datetime.now().strftime(fmt)
get current date, default format is %Y-%m-%d
get current date, default format is %Y-%m-%d
get current date default format is %Y - %m - %d
def get_current_date(fmt="%Y-%m-%d"):
    """ get current date, default format is %Y-%m-%d
    """
    return datetime.datetime.now().strftime(fmt)
def get_current_date ( fmt = "%Y-%m-%d" ) : return datetime . datetime . now ( ) . strftime ( fmt )