<human>:  from string to date format in.
<bot>: Here is a Python program to convert string to date format

import datetime

def date_format(string):
    """Return the date formatted as string."""

    return string

# Enter the string
string = "12/12/2012"

# Calling the function
print((date_format(string)))

#Example Output
# 12/12/2012

#Remember to inspect code for bugs.