Android - Get date and time from incoming SMS
<p>I am working on an android app, where I need to save sender, SMS body, date and time of the <em>incoming SMS</em>. Right now I can be able to capture the message body and sender. But I cant able to get the date and time of SMS. Even I checked out some of the posts in stackoverflow but none of them capture date and time. So can anyone here please suggest or show me piece of code to capture date and time from incoming SMS? Thanks in advance</p>

<p><strong>NOTE:</strong> I tried the following links</p>

<ol>
<li><a href="http://stackoverflow.com/questions/4637821/how-to-analyze-incoming-sms-on-android">How to analyze incoming SMS on Android?</a></li>
<li><a href="http://stackoverflow.com/questions/5692659/how-would-i-track-incoming-sms-in-android">How would i track Incoming SMS in Android?</a></li>
</ol>
