public static int howManyHoursOld(long time){
  return (int)((System.currentTimeMillis() - time) / DateUtils.HOUR_IN_MILLIS);
}

public static int howManyHoursOld ( long time ) { return ( int ) ( ( System . currentTimeMillis ( ) - time ) / DateUtils . HOUR_IN_MILLIS ) ; }
determines how many days ago time was ( rounded down ) .
