<p>This is my code:</p>

<pre><code>import datetime
today = datetime.date.today()
print(today)
</code></pre>

<p>This prints: <code>2008-11-22</code> which is exactly what I want.</p>

<p>But, I have a list I'm appending this to and then suddenly everything goes "wonky". Here is the code:</p>

<pre><code>import datetime
mylist = []
today = datetime.date.today()
mylist.append(today)
print(mylist)
</code></pre>

<p>This prints the following: </p>

<pre><code>[datetime.date(2008, 11, 22)]
</code></pre>

<p>How can I get just a simple date like <code>2008-11-22</code>?</p>

You need to convert the
```
datetime
```
object to a
```
str
```
.
The following code worked for me:
```
```
import datetime

collection = []
dateTimeString = str(datetime.date.today())
collection.append(dateTimeString)
    
print(collection)
```
```
Let me know if you need any more help.