Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: roliver
Added: May 15, 2020 5:55 PM
Views: 125
Tags: date
  1.    long diffInMillies = Math.abs(nfecha.getTime() - nre.getTime());
  2.                     long diff = TimeUnit.DAYS.convert(diffInMillies, TimeUnit.MILLISECONDS);