title: How to change the date on android, programmatically?
body: <h2>background</h2>
  
  <p>since it could be useful for testing of apps that need to run based on dates and time, it could be nice to create a widget/shortcut on the "desktop" of android, and by a single click to skip a few hours/days/... </p>
  
  <h2>the problem</h2>
  
  <p>i don't think there is such a thing using the normal API. the only similar thing is to use an intent to open the date options.</p>
  
  <h2>the question</h2>
  
  <p>is it possible to do it using the API of android? if not, is it possible to do it using ROOT? how?</p>
  
  <hr>
  
  <p>EDIT: i've found a way to do it using root, <a href="http://mrothouse.wordpress.com/2007/02/20/setting-datetime-on-unix/" rel="nofollow"><strong>here</strong></a> , but i can't find the correct parameters and documentation of how to use it (the link isn't correct about the parameters for  android).</p>