Getting difference of 1 day when date is sent from android application to php
<p>I am developing the android application in which persons can enter leave application.
Here users select the date from the Android Calendar and from this selected Date Epoch value is sent to php page on converting the epoch readable date format i get a difference of 1 Day.</p>

<p>As on php page i calculate the to date for the leave using the number of leave and from date but here i m getting the wrong value as from date on the php differs from the selected date on the android application.</p>

<p>Kindly help..</p>
