final long timeInMillis = System.currentTimeMillis();
final int days = (int) ( timeInMillis / ( 24L * 60 * 60 * 1000 ) );
int remdr = (int) ( timeInMillis % ( 24L * 60 * 60 * 1000 ) );
final int hours = remdr / ( 60 * 60 * 1000 );
remdr %= 60 * 60 * 1000;
final int minutes = remdr / ( 60 * 1000 );
remdr %= 60 * 1000;
final int seconds = remdr / 1000;
final int ms = remdr % 1000;
final long timeInMillis = days * ( 24L * 60 * 60 * 1000 ) + hours * ( 60 * 60 * 1000 ) + minutes * ( 60 * 1000 ) + seconds * 1000 + ms;
final long timeInMillis = System.currentTimeMillis();
long remdr = timeInMillis;
final int ms = (int)( remdr % 1000 );
remdr /= 1000;
final int seconds = (int)( remdr % 60 );
remdr /= 60;
final int minutes = (int)( remdr % 60 );
remdr /= 60;
final int hours = (int)( remdr % 24 );
final int days = (int)( remdr / 24 );