public static int howManyMinutesOld(long time){
  return (int)((System.currentTimeMillis() - time + 30000) / DateUtils.MINUTE_IN_MILLIS);
}

public static int howManyMinutesOld ( long time ) { return ( int ) ( ( System . currentTimeMillis ( ) - time + 30000 ) / DateUtils . MINUTE_IN_MILLIS ) ; }
determines how many minutes ago time was ( rounded up / down ) .
