How to calculate 1 month ago in milliseconds?
<p>I want to calculate 1 month ago from current time in milliseconds. For example if date is 25.11.2016 then I want to get 25.10.2016 as milliseconds format. How can I calculate this date as milliseconds? Below code is not working properly I think.</p>

<pre><code>System.currentTimeMillis() - 1000*60*60*24*30 
</code></pre>