static final int HOURS_PER_DAY = 24;
static final int MINUTES_PER_HOUR = 60;
static final int SECONDS_PER_MINUTE = 60;
static final int MILLISECONDS_PER_SECOND = 1000;
long togo = 112233445566778899L;
int millis = (int)( togo % MILLISECONDS_PER_SECOND );
togo /= MILLISECONDS_PER_SECOND;
int seconds = (int)( togo % SECONDS_PER_MINUTE );
togo /= SECONDS_PER_MINUTE;
int minutes = (int)( togo % MINUTES_PER_HOUR );
togo /= MINUTES_PER_HOUR;
int hours = (int)( togo % HOURS_PER_DAY );
int days = (int)( togo / HOURS_PER_DAY );