title: Equivalent function of datenum(datestring) of Matlab in Python
body: <p>In Matlab, when I run "<a href="http://de.mathworks.com/help/matlab/ref/datenum.html" rel="noreferrer">datenum</a>" function as the following;</p>
  
  <pre><code>datenum(1970, 1, 1);
  </code></pre>
  
  <p>I get the following output:</p>
  
  <pre><code>719529
  </code></pre>
  
  <p>I'm trying to find the equivalent function or script which is gonna give me the same output. But, unfortunately I couldn't find an enough explanation on the internet to do this.</p>
  
  <p>I have looked at this tutorial: <a href="https://docs.python.org/2/library/datetime.html" rel="noreferrer">https://docs.python.org/2/library/datetime.html</a>, but it didn't help.</p>
  
  <p>Could you tell me, how can I get the same output in python?</p>
  
  <p>Thanks,</p>