title: Python - merge time and date
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/8474670/pythonic-way-to-add-datetime-date-and-datetime-time-objects">Pythonic way to add datetime.date and datetime.time objects</a>  </p>
  </blockquote>
  
  
  
  <p>This question seems quite simple for me but I can't find the answer.<br>
  I have a <code>datetime.date()</code> to which I'd like to add a <code>datetime.time()</code>.</p>
  
  <pre><code>&gt;&gt;&gt; import datetime
  &gt;&gt;&gt; my_time = datetime.time(9, 30)
  &gt;&gt;&gt; my_date = datetime.date(2012, 10, 2)
  </code></pre>
  
  <p>I tried</p>
  
  <pre><code>&gt;&gt;&gt; my_time + my_date
  </code></pre>
  
  <p>I would have liked to get a</p>
  
  <pre><code>datetime.datetime(2012, 10, 2, 9, 30)
  </code></pre>
  
  <p>But the operand is not supported.<br>
  What is the best way to add <code>my_time</code> to <code>my_date</code> ?</p>