我想从 Date1 中得到多少日期、小时、分钟和秒数
String RemainingOn = "2013/25/1 22:36:24";
String mDate,mHour,mMinute,mSecond;
public String DateComparedateTime()
{
// compare RemainingOn with now
mDate = Difference date with RemainingOn and Now;
mHour = Difference hour with RemainingOn and Now;
mMinute = Difference minute with RemainingOn and Now;
mSecond = Difference second with RemainingOn and Now;
return mDate+","+mHour+","+mMinute+","+mSecond ;
}