def dsndate_fmt(datetime):
    """ Converts a datetime object to a DSN time format.
    Given the following time object time(2017, 11, 3, 9) will return the
    following string: D171103 """
    return f"D{datetime.strftime('%y%m%d')}"
