from datetime import datetime


def dateconverter(date_obj):
    """
    Stringify datetime.datetime in a given instance
    """
    if isinstance(date_obj, datetime):
        return date_obj.__str__()