Retrieve current date , sqlite android
<p>i'm trying to retrieve the current date via unix time like this:</p>

<pre><code>   long unixTime = System.currentTimeMillis()/1000;

    Date d = new Date(unixTime);
    StringBuffer tmp = new StringBuffer();
    tmp.append(d.getYear());
    tmp.append(" - ");
    tmp.append(d.getMonth());
    tmp.append(" - ");
    tmp.append(d.getDay());`
</code></pre>

<p>When i later print this out via <code>tmp.getString()</code> i get the following date 70 - 0 - 4 , is there something im missing ?</p>

<p>//Thx in advance</p>
