from datetime import datetime


def change_datetime_format(datetime_value: str, old: str, new: str):
    """Converts a date string's format to another format"""
    return datetime.strptime(datetime_value, old).strftime(new)