MongoDB adding years in existing ISODate field
<p>I have a mongoDB collection with documents containing timestamp which is ISO Date.</p>

<p>Somehow these dates got messed up while inserting and now they are in 1970!
I have fixed my inserting code. Now it is inserting correct timestamp.</p>

<p>But i need to fix the old data whose dates are in 1970 now. I need to add a specific time period in the timestamp of each record. Like 46 years and 5 months to change it to 2016 June.</p>

<p>e.g<br>
<strong>Current timestamp:</strong><br>
<code>"timestamp": "1970-01-01T00:00:00.000Z"</code></p>

<p><strong>New timestamp:</strong><br>
`"timestamp": "2016-06-01T00:00:00.000Z"</p>

<p><strong>and then increase timestamp of next by 10 seconds</strong>  </p>

<p><code>"timestamp": "2016-06-01T00:00:20.000Z"</code><br>
<code>"timestamp": "2016-06-01T00:00:30.000Z"</code>  </p>

<p>and so on...
Is is possible from mongo shell? If not, what else can i use?</p>