Android Create Calendar Object
<p>I created an Android Application which stores notes of the user with its time. I'm using this to the time when the user stores his note.</p>

<pre><code>System.currentTimeMillis();
</code></pre>

<p>When I'm reading the data from the database in order to display them to the user, it always shows me the 23rd of January 1970.</p>

<p>I create my date object like this:</p>

<pre><code>Calendar calendar = Calendar.getInstance();
calendar.setTimeInMillis(timeFromTheDatabase);
</code></pre>

<p>What is wrong?</p>

<p>I'm sure there is an easier way I haven't considered yet.</p>
